1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 21:24:12 +01:00

* Fix muttator and experimentally increase buffer position display timeout to 500ms to avoid rendering the page twice

This commit is contained in:
Martin Stubenschrott
2009-04-10 10:17:35 +02:00
parent 2a63edd52c
commit 9320c5b1be
2 changed files with 4 additions and 3 deletions

View File

@@ -104,7 +104,8 @@ const config = { //{{{
focusChange: function(win) {
// we switch to -- MESSAGE -- mode for Muttator, when the main HTML widget gets focus
if (hasHTMLDocument(win) || elem instanceof HTMLAnchorElement)
let elem = window.document.commandDispatcher.focusedElement;
if ((win && win.document && win.document instanceof HTMLDocument) || elem instanceof HTMLAnchorElement)
{
if (config.isComposeWindow)
modes.set(modes.INSERT, modes.TEXTAREA);
@@ -123,7 +124,7 @@ const config = { //{{{
],*/
optionDefaults: {
stal: 2,
showtabline: 1,
},
scripts: [