From ad1aec8151580eb5df005c56032069f96b67b46a Mon Sep 17 00:00:00 2001 From: GB609 <39741460+GB609@users.noreply.github.com> Date: Wed, 25 Sep 2024 14:04:47 +0000 Subject: [PATCH] Navigation & Provinznavigation behandeln --- plugins/MobileLayout/js/MobileLayout.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/MobileLayout/js/MobileLayout.js b/plugins/MobileLayout/js/MobileLayout.js index c2b7bc1..9867918 100755 --- a/plugins/MobileLayout/js/MobileLayout.js +++ b/plugins/MobileLayout/js/MobileLayout.js @@ -218,8 +218,7 @@ frameEle.parentElement.setAttribute("id", "frameDiv_" + frameEle.getAttribute("name")); } - LOGGER.debug("document title is", document.title); - if(OPTIONS.NAV.linksAsButtons == true && document.title.includes("Navigation")){ + if(OPTIONS.NAV.linksAsButtons == true && (/navigation/i).test(document.title)) { HOOKS.stylesheet.addRule(TEMPLATE.asText('naviFrame.css')); }