From 31c01d0b4c739f09342d0ca02e8e2cc7b73c1d67 Mon Sep 17 00:00:00 2001 From: fkloft Date: Tue, 12 Aug 2014 22:33:04 +0200 Subject: [PATCH] Add tooltips for accesskeys --- code/portal_detail_display.js | 2 +- main.js | 11 ++++++----- plugins/bookmarks-by-zaso.user.js | 6 +++--- plugins/draw-tools.user.js | 18 ++++++++++++++---- plugins/privacy-view.user.js | 2 +- 5 files changed, 25 insertions(+), 14 deletions(-) diff --git a/code/portal_detail_display.js b/code/portal_detail_display.js index 4b2f0ac6..159028e5 100644 --- a/code/portal_detail_display.js +++ b/code/portal_detail_display.js @@ -131,7 +131,7 @@ window.renderPortalDetails = function(guid) { $('').attr({ class: 'close', - title: 'Close', + title: 'Close [w]', onclick:'renderPortalDetails(null); if(isSmartphone()) show("map");', accesskey: 'w' }).text('X'), diff --git a/main.js b/main.js index 281b5d95..ca35a200 100644 --- a/main.js +++ b/main.js @@ -78,8 +78,9 @@ try { document.getElementsByTagName('body')[0].innerHTML = '' + '
Loading, please wait
' + '' + '