diff --git a/pandora_console/include/javascript/pandora_visual_console.js b/pandora_console/include/javascript/pandora_visual_console.js index 0cdbbb4cfc..49464b0724 100755 --- a/pandora_console/include/javascript/pandora_visual_console.js +++ b/pandora_console/include/javascript/pandora_visual_console.js @@ -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 {