pdufour commited on
Commit
14475ea
1 Parent(s): 31a2c22

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +5 -1
index.html CHANGED
@@ -39,7 +39,11 @@
39
  <input id="upload" type="file" accept="image/*" />
40
  </form>
41
 
42
- <script src="index.js" type="module"></script>
 
 
 
 
43
  </body>
44
 
45
  </html>
 
39
  <input id="upload" type="file" accept="image/*" />
40
  </form>
41
 
42
+ <script src="index.js" type="module">
43
+ document.addEventListener('DOMContentLoaded', async () => {
44
+ await import('./index.js');
45
+ });
46
+ </script>
47
  </body>
48
 
49
  </html>