summaryrefslogtreecommitdiff
path: root/common/content/find.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/find.js')
-rw-r--r--common/content/find.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/content/find.js b/common/content/find.js
index b7f9869c..794476ac 100644
--- a/common/content/find.js
+++ b/common/content/find.js
@@ -288,6 +288,7 @@ function Search() //{{{
"Find word under cursor",
function ()
{
+ found = false;
search.searchSubmitted(buffer.getCurrentWord(), false);
search.findAgain();
});
@@ -296,6 +297,7 @@ function Search() //{{{
"Find word under cursor backwards",
function ()
{
+ found = false;
search.searchSubmitted(buffer.getCurrentWord(), true);
search.findAgain();
});