diff options
| author | gdh1995 | 2016-05-05 18:55:47 +0800 | 
|---|---|---|
| committer | gdh1995 | 2016-05-05 18:55:47 +0800 | 
| commit | f387d2e0d743a18b5983ff5debb74e2634cb5f87 (patch) | |
| tree | f82c55cf785ef7dbffff57b87251c2962005a761 /content_scripts/mode_find.coffee | |
| parent | b6c535704816d3016f0feee65322c563824c6a08 (diff) | |
| download | vimium-f387d2e0d743a18b5983ff5debb74e2634cb5f87.tar.bz2 | |
install the real selectionchange listener after window.find
Diffstat (limited to 'content_scripts/mode_find.coffee')
| -rw-r--r-- | content_scripts/mode_find.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/content_scripts/mode_find.coffee b/content_scripts/mode_find.coffee index ad7cc136..4c146889 100644 --- a/content_scripts/mode_find.coffee +++ b/content_scripts/mode_find.coffee @@ -179,7 +179,7 @@ class FindMode extends Mode      if options.colorSelection        setTimeout( -        -> document.addEventListener("selectionchange", @restoreDefaultSelectionHighlight, true) +        => document.addEventListener("selectionchange", @restoreDefaultSelectionHighlight, true)        , 0)      # We are either in normal mode ("n"), or find mode ("/").  We are not in insert mode.  Nevertheless, if a | 
