Browse Source

loading thingy

master
wes 9 years ago
parent
commit
8b7daccf9a
  1. 9
      src/scripts/search.tag

9
src/scripts/search.tag

@ -39,17 +39,22 @@ var showedHelp = false;
function showHelp() { function showHelp() {
if (!showedHelp) { if (!showedHelp) {
showedHelp = true;
this.opts.showHelp = true; this.opts.showHelp = true;
this.update(); this.update();
window.setTimeout( window.setTimeout(
(function() { (function() {
clearHelp.bind(this)(); clearHelpTemp.bind(this)();
}).bind(this), 15000); }).bind(this), 15000);
} }
} }
function clearHelp() { function clearHelp() {
showedHelp = true;
this.opts.showHelp = false;
this.update();
}
function clearHelpTemp() {
this.opts.showHelp = false; this.opts.showHelp = false;
this.update(); this.update();
} }

Loading…
Cancel
Save