mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-17 10:59:17 +00:00
spinner
This commit is contained in:
committed by
Thomas Krijnen
parent
0f7f960b29
commit
fcbec74521
@@ -61,6 +61,10 @@ function setBusy(isBusy, reason = "") {
|
||||
browseBtn.tabIndex = isBusy ? -1 : 0;
|
||||
}
|
||||
|
||||
sendBtn.innerHTML = isBusy
|
||||
? `<span class="spinner"></span>`
|
||||
: `Send <span class="material-icons">send</span>`;
|
||||
|
||||
setStatus(isBusy ? (reason || "Working…") : "Ready");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user