From 8b7daccf9acf9561d79f3cc127f637e5459e5f2c Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 20:23:11 -0400 Subject: [PATCH] loading thingy --- src/scripts/search.tag | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index fe8f480..3d8c864 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -39,17 +39,22 @@ var showedHelp = false; function showHelp() { if (!showedHelp) { - showedHelp = true; this.opts.showHelp = true; this.update(); window.setTimeout( (function() { - clearHelp.bind(this)(); + clearHelpTemp.bind(this)(); }).bind(this), 15000); } } function clearHelp() { + showedHelp = true; + this.opts.showHelp = false; + this.update(); +} + +function clearHelpTemp() { this.opts.showHelp = false; this.update(); }