Middle clicks should also trigger tracking

This commit is contained in:
Michael Hadley 2020-01-13 14:57:25 -08:00
parent 52f6213d65
commit 8c6e3b3402

View File

@ -561,6 +561,7 @@ renderLink ((ButtonOrLink config) as link_) =
|> Maybe.map
(\onClickMsg ->
[ Events.onClick onClickMsg
, Events.on "auxclick" (Json.Decode.succeed onClickMsg)
]
)
|> Maybe.withDefault []