summaryrefslogtreecommitdiff
path: root/lib/scripts/hotkeys.js
diff options
context:
space:
mode:
authorHakan Sandell <sandell.hakan@gmail.com>2010-10-23 16:40:40 +0200
committerHakan Sandell <sandell.hakan@gmail.com>2010-10-23 16:40:40 +0200
commitbcb79ff3b3b63c74a93cdf4762fa0cd1bb28d17a (patch)
treeadcea7789395cf752416306f0ed6952c7f702ef8 /lib/scripts/hotkeys.js
parente3626db54846ba20cefbc1a9e2d8e29c40137067 (diff)
parent06ce34e4a80b6875db82190eb7abfb97bfd801b8 (diff)
downloadrpg-bcb79ff3b3b63c74a93cdf4762fa0cd1bb28d17a.tar.gz
rpg-bcb79ff3b3b63c74a93cdf4762fa0cd1bb28d17a.tar.bz2
Merge branch 'master' of git://github.com/splitbrain/dokuwiki
Diffstat (limited to 'lib/scripts/hotkeys.js')
-rw-r--r--lib/scripts/hotkeys.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/hotkeys.js b/lib/scripts/hotkeys.js
index ad608b227..bff28530d 100644
--- a/lib/scripts/hotkeys.js
+++ b/lib/scripts/hotkeys.js
@@ -52,7 +52,7 @@ function Hotkeys() {
t.each(anchors, function(a) {
if (a.accessKey != "") {
t.addShortcut(t.modifier + '+' + a.accessKey, function() {
- a.click();
+ location.href = a.href;
});
a.accessKey = '';
}