diff --git a/php/public/automatic_reload.js b/php/public/automatic_reload.js index 7b14a3c4..0381345d 100644 --- a/php/public/automatic_reload.js +++ b/php/public/automatic_reload.js @@ -1,4 +1,4 @@ -document.addEventListener("DOMContentLoaded", function(event) { +window.addEventListener("load", function(event) { if (document.hasFocus()) { // hide reload button if the site reloads automatically let list = document.getElementsByClassName("reload button"); diff --git a/php/templates/containers.twig b/php/templates/containers.twig index eb6120d1..169c5fb5 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -635,7 +635,7 @@ {% endif %} {% if isApacheStarting == true or is_backup_container_running == true or isWatchtowerRunning == true or is_daily_backup_running == true %} - + {% else %} {% endif %}