Open omnibs opened 2 years ago
This behaves the same when using elm/html and elm-css:
elm/html
elm-css
a [href "javascript:close();"] [text "hi"]
javascript:close();
href
The optimized build is consistent with elm/html. Both produce an empty href.
elm/html's alert cues the user that they're doing something they shouldn't be doing
alert
With elm-css, you'll only find out you messed up once you deploy
Expected
This behaves the same when using
elm/html
andelm-css
:Actual
Non-optimized build
javascript:close();
in thehref
Optimized build
The optimized build is consistent with
elm/html
. Both produce an emptyhref
.Why bother fixing
elm/html
'salert
cues the user that they're doing something they shouldn't be doingWith
elm-css
, you'll only find out you messed up once you deploy