From f14d2fb48e74f4f646821d2884d0a2e3a71175fa Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 20:14:07 -0400 Subject: [PATCH] loading thingy --- src/scripts/search.tag | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 89822ee..ec91aeb 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -4,7 +4,7 @@
- -this.showedHelp = false; +var showedHelp = false; function showHelp() { - if (!this.showedHelp) { + if (!showedHelp) { + showedHelp = true; this.opts.showHelp = true; this.update(); } } function clearHelp() { - console.log("CLEAR HELP FIRED"); - this.opts.showHelp = false; - this.showedHelp = true; - this.update(); -} - -function clearHelpTemp() { - console.log("CLEAR HELP TEMP FIRED"); this.opts.showHelp = false; this.update(); }