#10153 indexof pandora visual console

This commit is contained in:
Jonathan 2023-01-31 10:47:31 +01:00
parent 29e33c6433
commit f0d20a5775
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ function createVisualConsole(
visualConsole.updateElements(items);
}
if (window.location.pathname.indexOf("index.php") == 0) {
if (window.location.pathname.indexOf("index.php") <= 0) {
if (visualConsole.props.maintenanceMode != null) {
visualConsole.enableMaintenanceMode();
} else {