Thank you both very much for these prompt and useful answers.
I went with Pi's suggestion simply because it involved less rewriting.
It worked straight out of the box :)
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from th
You need to refactor your HTML markup. Instead of setting onClick on a li
element, you set it on a child element. E.g.:
ul []
[ li [] [ text "driver 1" ]
, li []
[ span [ onClick (Crumple "driver 2"] [ text "driver 2" ]
, ul []
[ li [] [