diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index cc5c0e2..6a48aee 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -874,10 +874,11 @@ $style = @' - const runBtn = document.querySelector('.run-button'); + async function triggerInstall() { // disable the button so you can't double-click while work is in flight + const runBtn = document.querySelector('.run-button'); runBtn.disabled = true; try {