mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-08-31 22:09:56 +00:00
fix: block autoupdate on any modal opened
This commit is contained in:
@ -68,6 +68,11 @@
|
||||
.some(el => el.classList.contains("show"));
|
||||
}
|
||||
|
||||
function hasActiveModal() {
|
||||
return Array.from(document.querySelectorAll(".modal"))
|
||||
.some(el => el.classList.contains("show"));
|
||||
}
|
||||
|
||||
function headerClass(status) {
|
||||
if (status === "pending") return ["bg-warning"];
|
||||
if (status === "building") return ["bg-warning"];
|
||||
|
Reference in New Issue
Block a user