Skip to content

Commit

Permalink
Fix that was stopping menu pages from loading
Browse files Browse the repository at this point in the history
  • Loading branch information
FayCross authored and torinfo committed Jul 7, 2022
1 parent 683e6e6 commit 2613309
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2761,7 +2761,7 @@ function x_pageLoaded() {
}

// Check if page headerBgColour/headerTextColour has been set
if ((x_currentPageXML.getAttribute("headerBgColor") != undefined && x_currentPageXML.getAttribute("headerBgColor") != "") || (x_currentPageXML.getAttribute("headerTextColor") != undefined && x_currentPageXML.getAttribute("headerTextColor") != "")) {
if (!x_isMenu() && ((x_currentPageXML.getAttribute("headerBgColor") != undefined && x_currentPageXML.getAttribute("headerBgColor") != "") || (x_currentPageXML.getAttribute("headerTextColor") != undefined && x_currentPageXML.getAttribute("headerTextColor") != ""))) {
const bgCol = x_currentPageXML.getAttribute("headerBgColor");
const textCol = x_currentPageXML.getAttribute("headerTextColor");
let customHeaderStyle = '';
Expand Down

0 comments on commit 2613309

Please sign in to comment.