aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2016-05-06 05:40:17 +0100
committerStephen Blott2016-05-06 05:40:17 +0100
commit3959369a69fd058bd2ca723e8aa65c0c5a01c20f (patch)
treef82c55cf785ef7dbffff57b87251c2962005a761
parentb6c535704816d3016f0feee65322c563824c6a08 (diff)
parentf387d2e0d743a18b5983ff5debb74e2634cb5f87 (diff)
downloadvimium-3959369a69fd058bd2ca723e8aa65c0c5a01c20f.tar.bz2
Merge pull request #2124 from gdh1995/bug-fix-in-find-mode
install the real selectionchange listener after window.find
-rw-r--r--content_scripts/mode_find.coffee2
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