aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorgdh19952016-05-05 18:55:47 +0800
committergdh19952016-05-05 18:55:47 +0800
commitf387d2e0d743a18b5983ff5debb74e2634cb5f87 (patch)
treef82c55cf785ef7dbffff57b87251c2962005a761 /content_scripts
parentb6c535704816d3016f0feee65322c563824c6a08 (diff)
downloadvimium-f387d2e0d743a18b5983ff5debb74e2634cb5f87.tar.bz2
install the real selectionchange listener after window.find
Diffstat (limited to 'content_scripts')
-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