Fix non-JS fallback
This commit is contained in:
@ -2,8 +2,13 @@
|
||||
// https://guide.elm-lang.org/interop/flags.html
|
||||
var flags = null
|
||||
|
||||
// remove fallback message
|
||||
document.addEventListener("DOMContentLoaded", function(event) {
|
||||
document.getElementById('fallback').remove()
|
||||
});
|
||||
|
||||
// Start our Elm application
|
||||
var app = Elm.Main.init({ flags: flags })
|
||||
|
||||
// Ports go here
|
||||
// https://guide.elm-lang.org/interop/ports.html
|
||||
// https://guide.elm-lang.org/interop/ports.html
|
||||
|
Reference in New Issue
Block a user