Browse Source

loading thingy

master
wes 9 years ago
parent
commit
0cb6432062
  1. 5
      src/scripts/search.tag

5
src/scripts/search.tag

@ -36,17 +36,22 @@
</search> </search>
var showedHelp = false; var showedHelp = false;
var waiting = false;
function showHelp() { function showHelp() {
if (!showedHelp) { if (!showedHelp) {
this.opts.showHelp = true; this.opts.showHelp = true;
this.update(); this.update();
if (!waiting) {
waiting = true;
window.setTimeout( window.setTimeout(
(function() { (function() {
waiting = false;
clearHelpTemp.bind(this)(); clearHelpTemp.bind(this)();
}).bind(this), 10000); }).bind(this), 10000);
} }
} }
}
function clearHelp() { function clearHelp() {
showedHelp = true; showedHelp = true;

Loading…
Cancel
Save