aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2015-06-26 11:00:58 +0100
committerStephen Blott2015-06-26 11:03:03 +0100
commit0d95a46573aa1bed7720454e6fb95a1cbaa59208 (patch)
tree08a328c07115f8596201c38f701a718b6edcc63f
parentcb42acfc59c10df4c0fd56f068c83c7509d5a237 (diff)
downloadvimium-0d95a46573aa1bed7720454e6fb95a1cbaa59208.tar.bz2
Fix oversight from #1693.
(We need to use "this" inside this function.)
-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 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"