From 493c2c3576d7d44bce5a5265618a2bed457e02f7 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 4 Oct 2007 10:54:21 +0000 Subject: [PATCH] don't call focusContent() on page load since it causes window map events to be fired --- content/events.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/events.js b/content/events.js index 17a6035b..4d3f2a0a 100644 --- a/content/events.js +++ b/content/events.js @@ -221,8 +221,9 @@ function Events() //{{{ // code which is only relevant if the page load is the current tab goes here: if (doc == getBrowser().selectedBrowser.contentDocument) { + // 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(vimperator.focusContent, 10); } } }