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

remove empty statement

This commit is contained in:
Doug Kearns
2007-10-31 09:20:29 +00:00
parent 95d0487677
commit 1a9ed6bf6b

View File

@@ -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);
}
//}
}
}