Skip to content

Commit

Permalink
#4: Changed JQuery DOM ready block to generic JS
Browse files Browse the repository at this point in the history
  • Loading branch information
KyNorthstar committed May 13, 2021
1 parent 19954e2 commit 38a2999
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/v2/general/kt/src/org/bh/scripts/general/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import org.w3c.dom.*
fun main(args: Array<String>) {
Setup.downloadJQuery()

jq(document).ready {
document.addEventListener("DOMContentLoaded", {
Setup.performCommonPageConnections()
Setup.reloadStates()
Setup.showJsOnlyElements()
}
})
}


Expand Down

0 comments on commit 38a2999

Please sign in to comment.