mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-02 13:52:28 +01:00
fixed MOW for muttator
This commit is contained in:
@@ -922,9 +922,9 @@ vimperator.Events = function () //{{{
|
||||
|
||||
if (vimperator.config.name == "Muttator")
|
||||
{
|
||||
// we switch to -- MESSAGE -- mode for muttator, when an HTML document gets focus
|
||||
if ((win && win.document && win.document instanceof HTMLDocument) ||
|
||||
elem instanceof HTMLAnchorElement)
|
||||
// we switch to -- MESSAGE -- mode for muttator, when the main HTML widget gets focus
|
||||
//if ((win && win.document && win.document instanceof HTMLDocument) ||
|
||||
if ((win && win == window.content) || elem instanceof HTMLAnchorElement)
|
||||
{
|
||||
if (vimperator.mode != vimperator.modes.MESSAGE)
|
||||
vimperator.mode = vimperator.modes.MESSAGE;
|
||||
|
||||
Reference in New Issue
Block a user