1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-04 18:55:45 +01:00

Fix /find error message on submit with 'incsearch'

This commit is contained in:
Kris Maglione
2009-09-17 11:07:54 -04:00
parent a29c4bd9f5
commit 4b43c2b3e5

View File

@@ -448,7 +448,7 @@ function Finder() //{{{
this.clear();
if (!(options["incsearch"] && str))
if (!options["incsearch"] || !str || !found)
{
// prevent any current match from matching again
if (!window.content.getSelection().isCollapsed)