Fix opening speed dial shortcuts via keyboard
This commit is contained in:
parent
493936adcb
commit
6719943d1c
1 changed files with 2 additions and 2 deletions
|
@ -313,14 +313,14 @@
|
||||||
|
|
||||||
if ($(key_id))
|
if ($(key_id))
|
||||||
{
|
{
|
||||||
if (key_id.substr(1) * 10 > sc.shortcuts.length)
|
if (key_id.substr(1) > 9)
|
||||||
{
|
{
|
||||||
if (getAction (key_id))
|
if (getAction (key_id))
|
||||||
document.location = $(key_id).children[1];
|
document.location = $(key_id).children[1];
|
||||||
key_id = 's';
|
key_id = 's';
|
||||||
}
|
}
|
||||||
else
|
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
|
else
|
||||||
key_id = 's';
|
key_id = 's';
|
||||||
|
|
Loading…
Reference in a new issue