From: Florian Forster Date: Mon, 21 Jun 2010 16:53:10 +0000 (+0200) Subject: share/collection.js: Add a timeout to the hide() call. X-Git-Tag: v4.0.0~204 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1ef0c31138a4429fbfc666a7ff96feaced17fa7d;p=collection4.git share/collection.js: Add a timeout to the hide() call. Otherwise the user won't be able to click the links. --- diff --git a/share/collection.js b/share/collection.js index 9968452..e9b376a 100644 --- a/share/collection.js +++ b/share/collection.js @@ -58,7 +58,10 @@ $(document).ready(function() { $("#search-input").blur (function() { - $("#search-suggest").hide (); + window.setTimeout (function () + { + $("#search-suggest").hide (); + }, 500); }); $("#search-input").focus (function()