From fd8604dd7dfc07d4b7016e83fc8c26834a039011 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 19 Oct 2010 19:47:02 +0200 Subject: fix hotkeys on anchors (click() undefined) FS#1958 --- lib/scripts/hotkeys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/scripts/hotkeys.js') 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 = ''; } -- cgit v1.2.3