More actions
No edit summary |
No edit summary |
||
| Line 96: | Line 96: | ||
{ | { | ||
spans.toggleClass('april-fools'); | spans.toggleClass('april-fools'); | ||
sleep = Math.round(Math.random() * | sleep = Math.round(Math.random() * 1000) | ||
//await sleep(Math.round(Math.random() * 100)); | //await sleep(Math.round(Math.random() * 100)); | ||
setTimeout(function() {spans.toggleClass('april-fools');}, sleep ) | setTimeout(function() {spans.toggleClass('april-fools');}, sleep ) | ||
| Line 110: | Line 110: | ||
for(var iter = 0; iter < amount; iter++) | for(var iter = 0; iter < amount; iter++) | ||
{ | { | ||
sleep = Math.round(Math.random() * | sleep = Math.round(Math.random() * 1000); | ||
setTimeout(function() {trigs.toggle(); origs.toggle();}, sleep ) | setTimeout(function() {trigs.toggle(); origs.toggle();}, sleep ) | ||
} | } | ||