summaryrefslogtreecommitdiff
path: root/common/content
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2009-09-17 11:07:54 -0400
committerKris Maglione <maglione.k@gmail.com>2009-09-17 11:07:54 -0400
commit4b43c2b3e536163c847df35eed11e06d8e3b2807 (patch)
treeab43917de18b28b402c4e5aa623405f13ff2ce99 /common/content
parenta29c4bd9f585cba5e81cba9414273f5dc1a17552 (diff)
downloadpentadactyl-4b43c2b3e536163c847df35eed11e06d8e3b2807.tar.gz
Fix /find error message on submit with 'incsearch'
Diffstat (limited to 'common/content')
-rw-r--r--common/content/finder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/finder.js b/common/content/finder.js
index 754987f4..c9b970c0 100644
--- a/common/content/finder.js
+++ b/common/content/finder.js
@@ -448,7 +448,7 @@ function Finder() //{{{
this.clear();
- if (!(options["incsearch"] && str))
+ if (!options["incsearch"] || !str || !found)
{
// prevent any current match from matching again
if (!window.content.getSelection().isCollapsed)