1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 14:24:18 +01:00
This commit is contained in:
Kris Maglione
2009-04-22 13:15:56 -04:00
parent 9320c5b1be
commit 2f753b6d27
7 changed files with 46 additions and 21 deletions

View File

@@ -104,8 +104,7 @@ const config = { //{{{
focusChange: function(win) {
// we switch to -- MESSAGE -- mode for Muttator, when the main HTML widget gets focus
let elem = window.document.commandDispatcher.focusedElement;
if ((win && win.document && win.document instanceof HTMLDocument) || elem instanceof HTMLAnchorElement)
if (win && win.document instanceof HTMLDocument || liberator.focus instanceof HTMLAnchorElement)
{
if (config.isComposeWindow)
modes.set(modes.INSERT, modes.TEXTAREA);