From a09691d658b6a64cdf5e2c1e414cfece92acae5b Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 22 Nov 2007 12:33:54 +0000 Subject: [PATCH] move the find error message to the end of the event queue so it's not cleared prematurely --- content/find.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/find.js b/content/find.js index c37917ec..dc06e01f 100644 --- a/content/find.js +++ b/content/find.js @@ -145,7 +145,7 @@ vimperator.Search = function () //{{{ found = fastFind.find(searchString, linksOnly) != Components.interfaces.nsITypeAheadFind.FIND_NOTFOUND; if (!found) - vimperator.echoerr("E486: Pattern not found: " + searchPattern); + setTimeout(function () { vimperator.echoerr("E486: Pattern not found: " + searchPattern); }, 0); return found; },