MediaWiki:Common.js: Difference between revisions
No edit summary |
No edit summary |
||
| Line 19: | Line 19: | ||
e.style.rotate = `${ rand(-3, 3) }deg` | e.style.rotate = `${ rand(-3, 3) }deg` | ||
}) | }) | ||
counter = rand( | counter = rand(5000, 15000) | ||
setTimeout(() => { setRandomRotations() }, counter) | setTimeout(() => { setRandomRotations() }, counter) | ||
} | } | ||
| Line 48: | Line 48: | ||
element.style.backgroundColor = getRandomBrightColor(); | element.style.backgroundColor = getRandomBrightColor(); | ||
}); | }); | ||
counter = rand(5000, 15000) | |||
setTimeout(() => { setBackgroundColors() }, counter) | |||
} | } | ||