From 4b43c2b3e536163c847df35eed11e06d8e3b2807 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 17 Sep 2009 11:07:54 -0400 Subject: Fix /find error message on submit with 'incsearch' --- common/content/finder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/content') 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) -- cgit v1.2.3