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