fix silence redirect (#1548)

* Use a button instead of a for buttons

Using <a> was causing an unintended redirect to
the root. It appears this behavior has changed in
0.19.

Signed-off-by: stuart nelson <stuartnelson3@gmail.com>

* bindata

Signed-off-by: stuart nelson <stuartnelson3@gmail.com>
This commit is contained in:
stuart nelson 2018-09-13 15:02:24 +02:00 committed by GitHub
parent 460b7a72fc
commit 6f1118ab46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ linkifyText str =
iconButtonMsg : String -> String -> msg -> Html msg
iconButtonMsg classString icon msg =
a [ class classString, onClick msg ]
button [ class classString, onClick msg ]
[ i [ class <| "fa fa-3 " ++ icon ] []
]

File diff suppressed because one or more lines are too long