diff options
| author | Stephen Blott | 2015-06-26 11:00:58 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2015-06-26 11:03:03 +0100 | 
| commit | 0d95a46573aa1bed7720454e6fb95a1cbaa59208 (patch) | |
| tree | 08a328c07115f8596201c38f701a718b6edcc63f | |
| parent | cb42acfc59c10df4c0fd56f068c83c7509d5a237 (diff) | |
| download | vimium-0d95a46573aa1bed7720454e6fb95a1cbaa59208.tar.bz2 | |
Fix oversight from #1693.
(We need to use "this" inside this function.)
| -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 d7c628be..9b47cfbd 100644 --- a/content_scripts/mode_find.coffee +++ b/content_scripts/mode_find.coffee @@ -101,7 +101,7 @@ class FindMode extends Mode      # character. here we grep for the relevant escape sequences.      @query.isRegex = Settings.get 'regexFindMode'      hasNoIgnoreCaseFlag = false -    @query.parsedQuery = @query.rawQuery.replace /(\\{1,2})([rRI]?)/g, (match, slashes, flag) -> +    @query.parsedQuery = @query.rawQuery.replace /(\\{1,2})([rRI]?)/g, (match, slashes, flag) =>        return match if flag == "" or slashes.length != 1        switch (flag)          when "r" | 
