summaryrefslogtreecommitdiff
path: root/teledactyl
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2010-10-09 05:49:10 +1100
committerDoug Kearns <dougkearns@gmail.com>2010-10-09 05:49:10 +1100
commit16f67b0d7dd9cae7f5b7ffd1cf25695ae51dafa0 (patch)
tree5c625cb7d8554fe184d21597ee0c48dfd5b9b620 /teledactyl
parentcb58723ce41827d027e6e60bea66c7b4ac063da8 (diff)
downloadpentadactyl-16f67b0d7dd9cae7f5b7ffd1cf25695ae51dafa0.tar.gz
Fix some outdated TEXTAREA mode references.
--HG-- branch : mode-refactoring
Diffstat (limited to 'teledactyl')
-rw-r--r--teledactyl/content/config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/teledactyl/content/config.js b/teledactyl/content/config.js
index d2183827..1711774c 100644
--- a/teledactyl/content/config.js
+++ b/teledactyl/content/config.js
@@ -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;
}