[FIX] Fixed CSS not displaying properly for skills (#6)

Co-authored-by: dunemask <dunemask@gmail.com>
Reviewed-on: https://gitea.dunemask.net/elysium/nile/pulls/6
This commit is contained in:
dunemask 2023-08-26 18:43:38 +00:00
parent c2fee6743a
commit d8a3f908cc
2 changed files with 9 additions and 5 deletions

View file

@ -149,7 +149,7 @@
const mediaCover = document.getElementById(
"loading-content-media-cover",
);
if (mediaCover === null && mediaCover.style === null) return;
if (mediaCover === null || mediaCover.style === null) return;
mediaCover.style.display = "block";
}