summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-25 00:05:17 -0400
committerpommicket <pommicket@gmail.com>2023-08-25 00:05:17 -0400
commit132289ea7c3bffb99bd392fd44a6b1508b6a740b (patch)
treebd028ce33d11ace2325b00e6585bfd54509f4b61
parentb37632c25c66cad88947085e88745657ca576df1 (diff)
fmt
-rw-r--r--pugl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl.js b/pugl.js
index 4875704..35b2df6 100644
--- a/pugl.js
+++ b/pugl.js
@@ -2389,7 +2389,7 @@ function startup() {
// ideally we would just put the initial state into the HTML
// but fucking firefox https://bugzilla.mozilla.org/show_bug.cgi?id=654072
set_paused(paused);
-
+
pause_element.addEventListener('click', () => {
set_paused(true);
});
@@ -2399,7 +2399,7 @@ function startup() {
step_element.addEventListener('click', () => {
perform_step();
});
-
+
document.getElementById('restart').addEventListener('click', () => {
restart();
});