summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'main.js')
-rw-r--r--main.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.js b/main.js
index 72c97a4..f0c0694 100644
--- a/main.js
+++ b/main.js
@@ -21,4 +21,7 @@ function render()
}
-window.onload = render;
+window.onload = () => {
+ reset();
+ render();
+}