mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
move eboutic/makecommand.js
to bundled directory
This commit is contained in:
@ -17,12 +17,13 @@ document.addEventListener("alpine:init", () => {
|
||||
data: etData,
|
||||
|
||||
async fill() {
|
||||
document.getElementById("bank-submit-button").disabled = true;
|
||||
const button = document.getElementById("bank-submit-button") as HTMLButtonElement;
|
||||
button.disabled = true;
|
||||
// biome-ignore lint/correctness/noUndeclaredVariables: defined in eboutic_makecommand.jinja
|
||||
const res = await fetch(etDataUrl);
|
||||
if (res.ok) {
|
||||
this.data = await res.json();
|
||||
document.getElementById("bank-submit-button").disabled = false;
|
||||
button.disabled = false;
|
||||
}
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user