mckabue commited on
Commit
b7dbc51
·
1 Parent(s): 216167a

DOMContentLoaded

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -73,7 +73,7 @@
73
  </div>
74
 
75
  <script>
76
- document.addEventListener("load", () => {
77
  const domain = [...new URL(location.href).searchParams]
78
  .find(([key, value]) => key?.toLowerCase()?.trim() === "domain")?.[1]
79
  ?.toLowerCase()
 
73
  </div>
74
 
75
  <script>
76
+ document.addEventListener("DOMContentLoaded", () => {
77
  const domain = [...new URL(location.href).searchParams]
78
  .find(([key, value]) => key?.toLowerCase()?.trim() === "domain")?.[1]
79
  ?.toLowerCase()