1 parent e2e8466 commit c0138deCopy full SHA for c0138de
1 file changed
editor/index.html
@@ -181,7 +181,15 @@
181
}
182
183
window.addEventListener('message', e => {
184
- if (e.data === 'running') setStatus('Running', 'ok');
+ if (e.data === 'running') {
185
+ setStatus('Running', 'ok');
186
+
187
+ const overlay = document.getElementById('loading-overlay');
188
+ if (overlay) overlay.style.display = 'none';
189
190
+ const btn = document.getElementById('btn-run');
191
+ if (btn) btn.disabled = false;
192
+ }
193
});
194
195
// Load default sketch on page load using inline JS blob
@@ -248,6 +256,9 @@
248
256
ep.textContent = data.error || 'Unknown error';
249
257
ep.style.display = 'block';
250
258
btn.disabled = false;
259
260
261
251
262
return;
252
263
253
264
0 commit comments