mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-16 10:37:09 +00:00
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:
parent
460b7a72fc
commit
6f1118ab46
@ -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
Loading…
Reference in New Issue
Block a user