From 7a9bab57766d66e40b9cb891532f195ea25aa55f Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Thu, 2 Apr 2026 14:06:39 +0200 Subject: [PATCH] aio-interface: fix page not automatic reloading after container starting progress spinner Signed-off-by: Simon L. --- php/public/automatic_reload.js | 2 +- php/templates/containers.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 %}