We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e920718 commit 737c02fCopy full SHA for 737c02f
index.html
@@ -11,11 +11,11 @@
11
</dialog>
12
<script>
13
try {
14
- loading.showModal();
+ document.querySelector('#loading').showModal();
15
} catch (e) {}
16
window.addEventListener('error', () => {
17
18
- loading.close();
+ document.querySelector('#loading').close();
19
20
});
21
</script>
src/index.mjs
@@ -1,10 +1,8 @@
1
import './state.mjs';
2
import './editor.mjs';
3
4
-const loading = document.querySelector('#loading');
5
-
6
7
8
} catch (e) {
9
// not all browsers support this
10
}
0 commit comments