From db3cc5433e40bf062b647c7e0b2442400c315b98 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sat, 11 Oct 2008 23:14:20 +0000 Subject: [PATCH] Report an error on search submit with incsearch. --- content/find.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/find.js b/content/find.js index 106f8422..501f371b 100644 --- a/content/find.js +++ b/content/find.js @@ -405,7 +405,7 @@ liberator.Search = function () //{{{ command = lastSearchPattern; this.clear(); - if (!liberator.options["incsearch"]) + if (!liberator.options["incsearch"] || !found) this.find(command, backwards); lastSearchBackwards = backwards;