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:
@@ -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