This commit is contained in:
MLH
2024-11-25 00:51:00 +01:00
parent 6a23dfb9d8
commit c718ef0063

View File

@@ -14,7 +14,7 @@ function toggleSnowflakes() {
const isDashboard = document.body.classList.contains('dashboardDocument');
const hasUserMenu = document.querySelector('#app-user-menu');
// hide snowflakes if video player is active or dashboard is visible
// hide snowflakes if video/trailer player is active or dashboard is visible
if (videoPlayer || trailerPlayer || isDashboard || hasUserMenu) {
snowflakeContainer.style.display = 'none'; // hide snowflakes
if (!msgPrinted) {