Another accesskey: 'w' to close portal details (=deselect portal)

This commit is contained in:
fkloft 2014-07-11 13:29:52 +02:00
parent b9f9288567
commit af90b25b48

View File

@ -129,7 +129,12 @@ window.renderPortalDetails = function(guid) {
.append(
$('<h3>').attr({class:'title'}).text(data.title),
$('<span>').attr({class:'close', onclick:'renderPortalDetails(null); if(isSmartphone()) show("map");',title:'Close'}).text('X'),
$('<span>').attr({
class: 'close',
title: 'Close',
onclick:'renderPortalDetails(null); if(isSmartphone()) show("map");',
accesskey: 'w'
}).text('X'),
// help cursor via ".imgpreview img"
$('<div>')