From b8df4772dafe8303d4587769eec571223b6648cc Mon Sep 17 00:00:00 2001 From: Cristiano Pires Date: Fri, 17 Mar 2023 21:49:14 +0000 Subject: [PATCH] stopped text animation on servers that don't have rem --- public/js/dashboard.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/js/dashboard.js b/public/js/dashboard.js index 7008df6..539b3fa 100644 --- a/public/js/dashboard.js +++ b/public/js/dashboard.js @@ -130,6 +130,7 @@ async function makeCards(data) let imgTarget = card.children[0].children[0].children[0] card.addEventListener('mouseenter', ()=> { + if(imgTarget.classList.contains('imgfalse')) return const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; let iteration = 0; interval = setInterval(() =>