Skip to content

Commit 079c9a4

Browse files
committed
go back to prompt on second drag/drop failure
1 parent fdd7678 commit 079c9a4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

code.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@
7575
}
7676

7777
function showLoadingError(text) {
78+
promptText.style.display = 'block';
79+
toolbar.style.display = 'none';
80+
statusBar.style.display = 'none';
81+
canvas.style.display = 'none';
7882
errorText.style.display = 'block';
7983
errorText.textContent = text;
8084
}
@@ -454,6 +458,7 @@
454458
promptText.style.display = 'none';
455459
toolbar.style.display = 'flex';
456460
statusBar.style.display = 'flex';
461+
canvas.style.display = 'block';
457462
const sm = parseSourceMap(map);
458463

459464
// Populate the file picker

0 commit comments

Comments
 (0)