mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 20:35:48 +01:00
move the find error message to the end of the event queue so it's not cleared
prematurely
This commit is contained in:
@@ -145,7 +145,7 @@ vimperator.Search = function () //{{{
|
|||||||
found = fastFind.find(searchString, linksOnly) != Components.interfaces.nsITypeAheadFind.FIND_NOTFOUND;
|
found = fastFind.find(searchString, linksOnly) != Components.interfaces.nsITypeAheadFind.FIND_NOTFOUND;
|
||||||
|
|
||||||
if (!found)
|
if (!found)
|
||||||
vimperator.echoerr("E486: Pattern not found: " + searchPattern);
|
setTimeout(function () { vimperator.echoerr("E486: Pattern not found: " + searchPattern); }, 0);
|
||||||
|
|
||||||
return found;
|
return found;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user