Changes for page Über Beachvolleypedia
Last modified by Beachvolleypedia Administrator on 2025/11/23 13:31
From version 113.3
edited by Beachvolleypedia Administrator
on 2025/11/15 16:13
on 2025/11/15 16:13
Change comment:
There is no comment for this version
To version 113.2
edited by Beachvolleypedia Administrator
on 2025/11/15 16:12
on 2025/11/15 16:12
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -23,6 +23,7 @@ 23 23 document.addEventListener('DOMContentLoaded', function() { 24 24 const navbarRight = document.querySelector('ul.navbar-right'); 25 25 if (navbarRight) { 26 + // Prüfe, ob die URL einen Port enthält (z. B. :1234) 26 26 const isNonDefaultPort = window.location.port !== '' && window.location.port !== '80' && window.location.port !== '443'; 27 27 navbarRight.style.display = isNonDefaultPort ? 'block' : 'none'; 28 28 }