From 0cb64320625fb7719777355527c0bce199adc0c8 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 20:25:59 -0400 Subject: [PATCH] loading thingy --- src/scripts/search.tag | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index d8e65e9..f41a8e7 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -36,15 +36,20 @@ var showedHelp = false; +var waiting = false; function showHelp() { if (!showedHelp) { this.opts.showHelp = true; this.update(); - window.setTimeout( + if (!waiting) { + waiting = true; + window.setTimeout( (function() { + waiting = false; clearHelpTemp.bind(this)(); }).bind(this), 10000); + } } }