diff --git a/scripts/elements.js b/scripts/elements.js index 5ad34d2..a9e01ac 100644 --- a/scripts/elements.js +++ b/scripts/elements.js @@ -70,7 +70,7 @@ class Instance extends HTMLElement { if(data.data.status === targetStatus) { break; } - waitFor(1000); + await waitFor(1000); } this.status = targetStatus; let typeImg = this.shadowElement.querySelector("#instance-type");