hotfix: when changelog is opened in new tab, popup must be ALWAYS dismissed default tip

Sun, 18 May 2025 13:24:55 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 18 May 2025 13:24:55 +0200
changeset 373
4ea722f9cb66
parent 372
560cbae73661

hotfix: when changelog is opened in new tab, popup must be ALWAYS dismissed

src/main/webapp/WEB-INF/jsp/site.jsp file | annotate | diff | comparison | revisions
--- a/src/main/webapp/WEB-INF/jsp/site.jsp	Sun May 18 13:22:11 2025 +0200
+++ b/src/main/webapp/WEB-INF/jsp/site.jsp	Sun May 18 13:24:55 2025 +0200
@@ -91,10 +91,9 @@
         function closeWhatsNew(showMore) {
             if (showMore) {
                 window.open(baseHref + 'about', '_blank');
-            } else {
-                document.getElementById('whats-new').style.display = 'none';
-                document.getElementById('page-area').classList.remove('blurred');
             }
+            document.getElementById('whats-new').style.display = 'none';
+            document.getElementById('page-area').classList.remove('blurred');
         }
         </c:if>
     </script>

mercurial