1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-08 00:35:47 +01:00

Don't jump to the next result when submitting a /search.

This commit is contained in:
Kris Maglione
2008-09-14 20:49:31 +00:00
parent 7e610e5e8b
commit da7850dadb

View File

@@ -295,7 +295,8 @@ liberator.Search = function () //{{{
command = lastSearchPattern;
this.clear();
this.find(command, backwards);
if (!liberator.options["incsearch"])
this.find(command, backwards);
lastSearchBackwards = backwards;
//lastSearchPattern = command.replace(backwards ? /\?.*/ : /\/.*/, ""); // XXX