From 1a9ed6bf6b8a200a8efa61195bced9f51bcd773d Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Wed, 31 Oct 2007 09:20:29 +0000 Subject: [PATCH] remove empty statement --- content/events.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/content/events.js b/content/events.js index 04fe1da0..76f30a5b 100644 --- a/content/events.js +++ b/content/events.js @@ -225,19 +225,19 @@ vimperator.Events = function() //{{{ vimperator.history.add(url, title); // code which is only relevant if the page load is the current tab goes here: - if (doc == getBrowser().selectedBrowser.contentDocument) - { - // TODO: remember the last focused input widget, so we can go there with 'gi' - // FIXME: this currently causes window map events which is _very_ annoying - // we want to stay in command mode after a page has loaded - //setTimeout(vimperator.focusContent, 10); - // setTimeout(function() { - // if (doc.commandDispatcher.focusedElement) - // doc.commandDispatcher.focusedElement.blur(); - // alert(doc.commandDispatcher.focusedElement); - // }, 1000); + //if (doc == getBrowser().selectedBrowser.contentDocument) + //{ + // // TODO: remember the last focused input widget, so we can go there with 'gi' + // // FIXME: this currently causes window map events which is _very_ annoying + // // we want to stay in command mode after a page has loaded + // //setTimeout(vimperator.focusContent, 10); + // // setTimeout(function() { + // // if (doc.commandDispatcher.focusedElement) + // // doc.commandDispatcher.focusedElement.blur(); + // // alert(doc.commandDispatcher.focusedElement); + // // }, 1000); - } + //} } }