1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 23:37:58 +01:00

declare some loop counters in followDocumentRelation and whitespace fixes

This commit is contained in:
Doug Kearns
2007-11-16 15:00:11 +00:00
parent ca7b146774
commit 51332e41a9
9 changed files with 44 additions and 30 deletions

View File

@@ -418,7 +418,7 @@ vimperator.Hints = function () //{{{
var first_href = valid_hints[0].getAttribute("href") || null;
if (first_href)
{
if (valid_hints.some( function (e) { return e.getAttribute("href") != first_href; } ))
if (valid_hints.some(function (e) { return e.getAttribute("href") != first_href; }))
return false;
}
else if (valid_hints.length > 1)
@@ -458,7 +458,7 @@ vimperator.Hints = function () //{{{
}
else
{
setTimeout( function () {
setTimeout(function () {
if (vimperator.mode == vimperator.modes.HINTS)
vimperator.modes.reset(false);
}, timeout);