mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-27 11:55:46 +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);
|
liberator.dump(this.wrapped);
|
||||||
if (this.wrapped)
|
if (this.wrapped)
|
||||||
|
{
|
||||||
|
this.cancel();
|
||||||
return null;
|
return null;
|
||||||
|
}
|
||||||
this.wrapped = true;
|
this.wrapped = true;
|
||||||
lastRange = this.backward ? pageEnd : pageStart;
|
lastRange = this.backward ? pageEnd : pageStart;
|
||||||
return this.search(again ? null : word, reverse);
|
return this.search(again ? null : word, reverse);
|
||||||
|
|||||||
Reference in New Issue
Block a user