From 6719943d1ca7d9e7f74b0a761a3508cb2cb19cc4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Forysiuk?= Date: Mon, 4 Apr 2011 00:15:58 +0200 Subject: [PATCH] Fix opening speed dial shortcuts via keyboard --- data/speeddial-head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'; -- 2.39.5