diff --git a/app/static/app.js b/app/static/app.js index 1895fa6..6238bf5 100644 --- a/app/static/app.js +++ b/app/static/app.js @@ -189,8 +189,9 @@ st.cls === "err" ? "error" : "", st.cls === "disabled" ? "disabled" : "", st.cls === "pending" ? "pending" : "", + animate ? "" : "no-anim", ].join(" ").trim(); - const animStyle = animate ? `animation-delay:${Math.min(idx, 12) * 40}ms` : "animation:none"; + const animStyle = animate ? `animation-delay:${Math.min(idx, 12) * 40}ms` : ""; const win = accountWindows[a.id] || "all"; let hist; if (win === "all") { @@ -355,9 +356,10 @@ list.innerHTML = platforms.map((p, i) => { const b = brandStyle(p.icon || ""); const prov = providersList.find((x) => x.id === p.provider_id); - const animStyle = animate ? `animation-delay:${Math.min(i, 10) * 35}ms` : "animation:none"; + const animStyle = animate ? `animation-delay:${Math.min(i, 10) * 35}ms` : ""; + const rowCls = `platform-row ${p.enabled ? "" : "platform-off"}${animate ? "" : " no-anim"}`; return ` -