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

added vimperator.config.mainWidget

This commit is contained in:
Martin Stubenschrott
2008-02-05 02:51:58 +00:00
parent c9fdb64ba1
commit f2d1334ce7
4 changed files with 10 additions and 2 deletions

View File

@@ -163,7 +163,8 @@ const vimperator = (function () //{{{
if (window == ww.activeWindow && document.commandDispatcher.focusedElement && clearFocusedElement)
document.commandDispatcher.focusedElement.blur();
content.focus();
var elem = vimperator.config.mainWidget || content;
elem.focus();
},
// partial sixth level expression evaluation