mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-19 13:45:48 +01:00
Don't jump to the next result when submitting a /search.
This commit is contained in:
@@ -295,7 +295,8 @@ liberator.Search = function () //{{{
|
|||||||
command = lastSearchPattern;
|
command = lastSearchPattern;
|
||||||
|
|
||||||
this.clear();
|
this.clear();
|
||||||
this.find(command, backwards);
|
if (!liberator.options["incsearch"])
|
||||||
|
this.find(command, backwards);
|
||||||
|
|
||||||
lastSearchBackwards = backwards;
|
lastSearchBackwards = backwards;
|
||||||
//lastSearchPattern = command.replace(backwards ? /\?.*/ : /\/.*/, ""); // XXX
|
//lastSearchPattern = command.replace(backwards ? /\?.*/ : /\/.*/, ""); // XXX
|
||||||
|
|||||||
Reference in New Issue
Block a user