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

don't call focusContent() on page load since it causes window map events to be

fired
This commit is contained in:
Doug Kearns
2007-10-04 10:53:45 +00:00
parent c5294d539a
commit 03489b56d3

View File

@@ -221,9 +221,10 @@ function Events() //{{{
// code which is only relevant if the page load is the current tab goes here: // code which is only relevant if the page load is the current tab goes here:
if (doc == getBrowser().selectedBrowser.contentDocument) 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' // 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);
} }
} }
} }