Skip to content

Commit 987931b

Browse files
committed
Turn off spinner
When attached to serial this is the best spot to stop the STOP button spinner.
1 parent d187c72 commit 987931b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,9 @@ function registerEditor(_container, state) {
10221022
document.getElementById('IDRunBTN').style.display = "block";
10231023
document.getElementById('IDStopBTN').style.display = "none";
10241024

1025+
if(REPL.BLE_DEVICE == undefined){
1026+
UIkit.modal(document.getElementById("IDWaitingParent")).hide(); //stop the spinner
1027+
}
10251028

10261029
if(REPL.RUN_ERROR && REPL.RUN_ERROR.includes("[Errno 2] ENOENT", 0)){
10271030
await window.alertMessage("The program that you were trying to RUN has not been saved to this XRP.<br>To RUN this program save the file to XRP and click RUN again.");

0 commit comments

Comments
 (0)