diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-10-19 19:47:02 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-10-19 19:47:02 +0200 |
commit | fd8604dd7dfc07d4b7016e83fc8c26834a039011 (patch) | |
tree | cad0f57ebff1a1b2971d34ae5eac2efd954b445c | |
parent | c2890583c7a1ed7c3d33abb98f38c01d6ec3d91d (diff) | |
download | rpg-fd8604dd7dfc07d4b7016e83fc8c26834a039011.tar.gz rpg-fd8604dd7dfc07d4b7016e83fc8c26834a039011.tar.bz2 |
fix hotkeys on anchors (click() undefined) FS#1958
-rw-r--r-- | lib/scripts/hotkeys.js | 2 |
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 = ''; } |