From 03489b56d3f4aaafe10b5d0080d67b0c1018943c Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 4 Oct 2007 10:53:45 +0000 Subject: [PATCH] don't call focusContent() on page load since it causes window map events to be fired --- content/events.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/events.js b/content/events.js index 44c5042c..b26b82b2 100644 --- a/content/events.js +++ b/content/events.js @@ -221,9 +221,10 @@ function Events() //{{{ // code which is only relevant if the page load is the current tab goes here: if (doc == getBrowser().selectedBrowser.contentDocument) { - // we want to stay in command mode after a page has loaded // TODO: remember the last focused input widget, so we can go there with 'gi' - setTimeout(vimperator.focusContent, 10); + // 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); } } }