1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 03:44:12 +01:00

Report an error on search submit with incsearch.

This commit is contained in:
Kris Maglione
2008-10-11 23:14:20 +00:00
parent 747fd0e96d
commit db3cc5433e

View File

@@ -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;