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(); }