summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-10-19 19:47:02 +0200
committerAndreas Gohr <andi@splitbrain.org>2010-10-19 19:47:02 +0200
commitfd8604dd7dfc07d4b7016e83fc8c26834a039011 (patch)
treecad0f57ebff1a1b2971d34ae5eac2efd954b445c /lib
parentc2890583c7a1ed7c3d33abb98f38c01d6ec3d91d (diff)
downloadrpg-fd8604dd7dfc07d4b7016e83fc8c26834a039011.tar.gz
rpg-fd8604dd7dfc07d4b7016e83fc8c26834a039011.tar.bz2
fix hotkeys on anchors (click() undefined) FS#1958
Diffstat (limited to 'lib')
-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 = '';
}