mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-05 00:55:49 +01:00
Report an error on search submit with incsearch.
This commit is contained in:
@@ -405,7 +405,7 @@ liberator.Search = function () //{{{
|
|||||||
command = lastSearchPattern;
|
command = lastSearchPattern;
|
||||||
|
|
||||||
this.clear();
|
this.clear();
|
||||||
if (!liberator.options["incsearch"])
|
if (!liberator.options["incsearch"] || !found)
|
||||||
this.find(command, backwards);
|
this.find(command, backwards);
|
||||||
|
|
||||||
lastSearchBackwards = backwards;
|
lastSearchBackwards = backwards;
|
||||||
|
|||||||
Reference in New Issue
Block a user