From 3f516e69f1001a52a1a50f4e9797157f022f65f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Robert=20Stojni=C4=87?= Date: Mon, 4 May 2009 23:33:07 +0000 Subject: [PATCH] Addendum for r50205, also explicitly cancel any pending fetches just to be sure. --- skins/common/mwsuggest.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/skins/common/mwsuggest.js b/skins/common/mwsuggest.js index 503c739246..eeb8412c6a 100644 --- a/skins/common/mwsuggest.js +++ b/skins/common/mwsuggest.js @@ -628,7 +628,12 @@ function os_eventBlur(e){ return; // not our event if(!os_mouse_pressed){ os_hideResults(r); + // force canvas to stay hidden r.stayHidden = true + // cancel any pending fetches + if(os_timer != null && os_timer.id != null) + clearTimeout(os_timer.id); + os_timer = null } } -- 2.20.1