Skip to content

Commit

Permalink
Navigation & Provinznavigation behandeln
Browse files Browse the repository at this point in the history
  • Loading branch information
GB609 authored Sep 25, 2024
1 parent dc4dc0a commit ad1aec8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/MobileLayout/js/MobileLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
}

Expand Down

0 comments on commit ad1aec8

Please sign in to comment.