diff options
| author | Phil Crosby | 2009-11-28 01:19:34 -0800 |
|---|---|---|
| committer | Phil Crosby | 2009-11-28 01:19:34 -0800 |
| commit | a1b2568e6501c7aaf0b2aeea5c5aa8588f0caf42 (patch) | |
| tree | dec05fa3a3d8ded58d70abbd9730fbe46aee0bd2 | |
| parent | a1f3e89cc3bc70ba578c44c6e8f54e2e27cc11cf (diff) | |
| download | vimium-a1b2568e6501c7aaf0b2aeea5c5aa8588f0caf42.tar.bz2 | |
Only enter insert mode with the "INPUT" element is of type "text".
| -rw-r--r-- | vimiumFrontend.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vimiumFrontend.js b/vimiumFrontend.js index 059bf361..bb1bdbda 100644 --- a/vimiumFrontend.js +++ b/vimiumFrontend.js @@ -184,7 +184,7 @@ function onBlurCapturePhase(event) { } function isInputOrText(target) { - return (target.tagName == "INPUT" || target.tagName == "TEXTAREA"); + return ((target.tagName == "INPUT" && target.type == "text") || target.tagName == "TEXTAREA"); } function enterInsertMode() { |
