#10153 indexof pandora visual console
This commit is contained in:
parent
29e33c6433
commit
f0d20a5775
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue