mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-28 18:25:45 +01:00
Fix /find error message on submit with 'incsearch'
This commit is contained in:
@@ -448,7 +448,7 @@ function Finder() //{{{
|
|||||||
|
|
||||||
this.clear();
|
this.clear();
|
||||||
|
|
||||||
if (!(options["incsearch"] && str))
|
if (!options["incsearch"] || !str || !found)
|
||||||
{
|
{
|
||||||
// prevent any current match from matching again
|
// prevent any current match from matching again
|
||||||
if (!window.content.getSelection().isCollapsed)
|
if (!window.content.getSelection().isCollapsed)
|
||||||
|
|||||||
Reference in New Issue
Block a user