mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-30 10:12:26 +01:00
Cancel the search when an incsearch fails. embedcomp/rangefind may need to go given the difficulties presented by iframes.
This commit is contained in:
@@ -212,7 +212,10 @@ function Search() //{{{
|
||||
{
|
||||
liberator.dump(this.wrapped);
|
||||
if (this.wrapped)
|
||||
{
|
||||
this.cancel();
|
||||
return null;
|
||||
}
|
||||
this.wrapped = true;
|
||||
lastRange = this.backward ? pageEnd : pageStart;
|
||||
return this.search(again ? null : word, reverse);
|
||||
|
||||
Reference in New Issue
Block a user