mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 21:12:27 +01:00
fixed -- MESSAGE -- focus bug, work around mail.getMessages() bug with try/catch
This commit is contained in:
@@ -928,8 +928,8 @@ vimperator.Events = function () //{{{
|
||||
if (vimperator.config.name == "Muttator")
|
||||
{
|
||||
// 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 ((win && win.document && win.document instanceof HTMLDocument)
|
||||
|| elem instanceof HTMLAnchorElement)
|
||||
{
|
||||
if (vimperator.mode != vimperator.modes.MESSAGE)
|
||||
vimperator.mode = vimperator.modes.MESSAGE;
|
||||
|
||||
Reference in New Issue
Block a user