diff options
| author | Stephen Blott | 2015-01-07 09:57:03 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-01-07 09:57:03 +0000 |
| commit | 04ac4c64c9634d9f81035ff7e9db537f39b42f3c (patch) | |
| tree | c61e1d5893916b0d3fa191e2aaf285ff7ae9629c /content_scripts/mode_find.coffee | |
| parent | a7fcfd9a663e2d81a86e5e49e54162399ccb5e6b (diff) | |
| download | vimium-04ac4c64c9634d9f81035ff7e9db537f39b42f3c.tar.bz2 | |
Modes; rework Singletons, InsertModeBlocker and HandlerStack.
This begins work on addressing @philc's comments in #1413. That work is
nevertheless not yet complete.
Diffstat (limited to 'content_scripts/mode_find.coffee')
| -rw-r--r-- | content_scripts/mode_find.coffee | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content_scripts/mode_find.coffee b/content_scripts/mode_find.coffee index 44d50608..18cb7b71 100644 --- a/content_scripts/mode_find.coffee +++ b/content_scripts/mode_find.coffee @@ -10,8 +10,9 @@ class PostFindMode extends InsertModeBlocker constructor: (findModeAnchorNode) -> element = document.activeElement - super element, + super name: "post-find" + singleton: PostFindMode return @exit() unless element and findModeAnchorNode |
