terrain-generator

digital terrain generation and animation
git clone https://tongong.net/git/terrain-generator.git
Log | Files | Refs | README

commit a8b78f2eff9eb25339a3fa4bb555a9211fb866cb
parent a512ce66055ea61850b3c40913ea874a6dc2dde4
Author: tongong <tongong@gmx.net>
Date:   Sun, 18 Aug 2019 15:21:15 +0200

bug fixes

Diffstat:
Mscripts/interface.js | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/interface.js b/scripts/interface.js @@ -10,13 +10,13 @@ function initIconAnimation() { this.classList.remove("animated"); }, false); } - document.getElementById("reload").addEventListener('touchstart', function() { - this.clasaslist.add("animated"); - }, false); document.getElementById("reload").addEventListener("click", function() { if (state == 3) { refreshTime = millis(); state = 4; } }, false); + document.getElementById("reload").addEventListener('touchstart', function() { + this.classList.add("animated"); + }, false); } \ No newline at end of file