From 9736f32d1f8e02a4fbabb3d0c37408c69c9e0ada Mon Sep 17 00:00:00 2001 From: Felipe Ribeiro Date: Thu, 21 Dec 2023 20:09:25 -0300 Subject: [PATCH] test fix --- index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 99511f0..1815fdf 100644 --- a/index.html +++ b/index.html @@ -528,7 +528,11 @@ var wasActive = active; active = width > 100; - if (!wasActive && active) requestAnimFrame(update); + if (!wasActive) { + if (active) { + requestAnimFrame(update); + } + } } var Snowflake = function () {