From: Paweł Forysiuk Date: Sun, 3 Apr 2011 22:15:58 +0000 (+0200) Subject: Fix opening speed dial shortcuts via keyboard X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6719943d1ca7d9e7f74b0a761a3508cb2cb19cc4;p=midori Fix opening speed dial shortcuts via keyboard --- diff --git a/data/speeddial-head.html b/data/speeddial-head.html index 39508ea3..0c901bd7 100644 --- a/data/speeddial-head.html +++ b/data/speeddial-head.html @@ -313,14 +313,14 @@ if ($(key_id)) { - if (key_id.substr(1) * 10 > sc.shortcuts.length) + if (key_id.substr(1) > 9) { if (getAction (key_id)) document.location = $(key_id).children[1]; key_id = 's'; } else - key_timeout = setTimeout ('if (getAction (key_id)) document.location = $(key_id).children[1]; key_id = \'s\'', 3000); + key_timeout = setTimeout ('if (getAction (key_id)) document.location = $(key_id).children[1]; key_id = \'s\'', 1000); } else key_id = 's';