diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-08-09 21:55:45 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-08-09 21:55:45 +0200 |
commit | b6bf4d661c4578a596f249f1a21ee588be6e4262 (patch) | |
tree | e8c6999f92bf0f1978de672879ba84735ab40097 /lib | |
parent | b7f327c9619c6ba12bde90220173f7c114584860 (diff) | |
download | rpg-b6bf4d661c4578a596f249f1a21ee588be6e4262.tar.gz rpg-b6bf4d661c4578a596f249f1a21ee588be6e4262.tar.bz2 |
remove accesskey once a JS handler was registered FS#2007
Diffstat (limited to 'lib')
-rw-r--r-- | lib/scripts/hotkeys.js | 3 |
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 = ''; } }); |