don't start colors animation when we click back button

This commit is contained in:
xenofem 2020-05-29 17:14:57 -04:00
parent 00acdb5901
commit 930c9bf049

View file

@ -28,6 +28,10 @@ function changeWord() {
wordEl.style.color = newColor;
}
document.getElementById("controls").onclick = function (e) {
e.stopPropagation();
}
window.onclick = function () {
if (!started) {
started = true;