1
0
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:
Kris Maglione
2008-10-18 17:43:18 +00:00
parent 4d8ab3530e
commit ca28d52ed4

View File

@@ -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);