mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 22:08:00 +01:00
remove empty statement
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user