diff options
| author | mrmr1993 | 2015-06-03 04:49:56 +0100 |
|---|---|---|
| committer | mrmr1993 | 2015-06-10 17:28:35 +0100 |
| commit | b80f4095b8b8767bb1dfb991fec1e756389f25a2 (patch) | |
| tree | bc24bcb80c4bca541b0474b2054764cd6b21873d /content_scripts/vimium_frontend.coffee | |
| parent | c5a40d4fd34e007d27849f3e480e2ce26829fa7c (diff) | |
| download | vimium-b80f4095b8b8767bb1dfb991fec1e756389f25a2.tar.bz2 | |
Remove global findMode and pass new FindMode instances direct to the HUD
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index b6ca06a2..c1c8288c 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -6,7 +6,6 @@ # window.findModeQuery = { rawQuery: "", matchCount: 0 } -window.findMode = null window.findModeQueryHasResults = false isShowingHelpDialog = false keyPort = null @@ -868,7 +867,7 @@ window.goNext = -> # Enters find mode. Returns the new find-mode instance. window.enterFindMode = -> Marks.setPreviousPosition() - window.findMode = new FindMode() + new FindMode() window.showHelpDialog = (html, fid) -> return if (isShowingHelpDialog || !document.body || fid != frameId) |
