1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-21 10:45:46 +01:00

Fix some outdated TEXTAREA mode references.

--HG--
branch : mode-refactoring
This commit is contained in:
Doug Kearns
2010-10-09 05:49:10 +11:00
parent cb58723ce4
commit 16f67b0d7d
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ const Config = Module("config", ConfigBase, {
// we switch to -- MESSAGE -- mode for Teledactyl when the main HTML widget gets focus
if (win && win.document instanceof HTMLDocument || dactyl.focus instanceof HTMLAnchorElement) {
if (config.isComposeWindow)
modes.set(modes.INSERT, modes.TEXTAREA);
modes.set(modes.INSERT, modes.TEXT_EDIT);
else if (dactyl.mode != modes.MESSAGE)
dactyl.mode = modes.MESSAGE;
}