diff options
| author | mrmr1993 | 2015-06-10 16:22:57 +0100 |
|---|---|---|
| committer | mrmr1993 | 2015-06-10 20:59:17 +0100 |
| commit | 25402831343e647a7d9ab96f390d48b07cb44488 (patch) | |
| tree | 89346b4037818fcaf987d0c996b7c2654874f1fc /content_scripts/mode_find.coffee | |
| parent | 409fce2a3663f7e100705dc9d0617514eed48a99 (diff) | |
| download | vimium-25402831343e647a7d9ab96f390d48b07cb44488.tar.bz2 | |
Add FindMode.saveQuery to avoid addressing findModeQuery directly
Diffstat (limited to 'content_scripts/mode_find.coffee')
| -rw-r--r-- | content_scripts/mode_find.coffee | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content_scripts/mode_find.coffee b/content_scripts/mode_find.coffee index 4d7f3972..ad3d3408 100644 --- a/content_scripts/mode_find.coffee +++ b/content_scripts/mode_find.coffee @@ -154,6 +154,8 @@ class FindMode extends Mode else findModeQuery.parsedQuery + @saveQuery: -> FindModeHistory.saveQuery findModeQuery.rawQuery + getCurrentRange = -> selection = getSelection() if selection.type == "None" |
