From 1e6097eb9ea685e463691509abb473f06a5f2587 Mon Sep 17 00:00:00 2001 From: shuki Date: Thu, 5 Mar 2026 03:50:05 +0200 Subject: [PATCH] Fix restore spinner not hiding due to !important CSS override Use hidden class toggle instead of inline style.display, since Tailwind CSS is built with the important flag. Co-Authored-By: Claude Opus 4.6 --- whm/gniza-whm/restore.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/whm/gniza-whm/restore.cgi b/whm/gniza-whm/restore.cgi index b48d3e7..6ee1974 100644 --- a/whm/gniza-whm/restore.cgi +++ b/whm/gniza-whm/restore.cgi @@ -194,7 +194,7 @@ sub handle_step1 { print qq{ \n}; - print qq{ \n}; + print qq{ \n}; print qq{\n}; print qq{\n\n}; @@ -226,7 +226,7 @@ function gnizaLoadAccounts() { acctSel.innerHTML = ''; acctSel.disabled = true; submitBtn.disabled = true; - spinner.style.display = ''; + spinner.classList.remove('hidden'); function gnizaSetAcctMsg(msg) { acctSel.innerHTML = ''; @@ -236,7 +236,7 @@ function gnizaLoadAccounts() { acctSel.appendChild(opt); } - function gnizaDone() { spinner.style.display = 'none'; } + function gnizaDone() { spinner.classList.add('hidden'); } var xhr = new XMLHttpRequest(); xhr.timeout = 30000;