summaryrefslogtreecommitdiff
path: root/oldindex.html
diff options
context:
space:
mode:
Diffstat (limited to 'oldindex.html')
-rw-r--r--oldindex.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/oldindex.html b/oldindex.html
index 48f9615..da4f857 100644
--- a/oldindex.html
+++ b/oldindex.html
@@ -135,7 +135,11 @@ a{color:cyan}
}
requestAnimationFrame(tick);
}
- tick();
+
+ let mm = matchMedia("(prefers-reduced-motion: reduce)").matches;
+ if (!mm) {
+ tick();
+ }
</script>
</body>
</html>