mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 00:12:29 +02:00
Fix /find error message on submit with 'incsearch'
This commit is contained in:
1 parent
a29c4bd9f5
commit
4b43c2b3e5
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user