summaryrefslogtreecommitdiff
path: root/lib/scripts/hotkeys.js
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-08-09 21:55:45 +0200
committerAndreas Gohr <andi@splitbrain.org>2010-08-09 21:55:45 +0200
commitb6bf4d661c4578a596f249f1a21ee588be6e4262 (patch)
treee8c6999f92bf0f1978de672879ba84735ab40097 /lib/scripts/hotkeys.js
parentb7f327c9619c6ba12bde90220173f7c114584860 (diff)
downloadrpg-b6bf4d661c4578a596f249f1a21ee588be6e4262.tar.gz
rpg-b6bf4d661c4578a596f249f1a21ee588be6e4262.tar.bz2
remove accesskey once a JS handler was registered FS#2007
Diffstat (limited to 'lib/scripts/hotkeys.js')
-rw-r--r--lib/scripts/hotkeys.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/scripts/hotkeys.js b/lib/scripts/hotkeys.js
index c340c7f02..356b691ea 100644
--- a/lib/scripts/hotkeys.js
+++ b/lib/scripts/hotkeys.js
@@ -54,6 +54,7 @@ function Hotkeys() {
t.addShortcut(t.modifier + '+' + a.accessKey, function() {
a.click();
});
+ a.accessKey = '';
}
});
@@ -67,6 +68,7 @@ function Hotkeys() {
t.addShortcut(t.modifier + '+' + i.accessKey, function() {
i.click();
});
+ i.accessKey = '';
}
});
@@ -80,6 +82,7 @@ function Hotkeys() {
t.addShortcut(t.modifier + '+' + b.accessKey, function() {
b.click();
});
+ b.accessKey = '';
}
});