From 8c6e3b3402e465db94790f0267e897ae1bc245f6 Mon Sep 17 00:00:00 2001 From: Michael Hadley Date: Mon, 13 Jan 2020 14:57:25 -0800 Subject: [PATCH] Middle clicks should also trigger tracking --- src/Nri/Ui/Button/V9.elm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Nri/Ui/Button/V9.elm b/src/Nri/Ui/Button/V9.elm index 556f9e17..6832dadd 100644 --- a/src/Nri/Ui/Button/V9.elm +++ b/src/Nri/Ui/Button/V9.elm @@ -561,6 +561,7 @@ renderLink ((ButtonOrLink config) as link_) = |> Maybe.map (\onClickMsg -> [ Events.onClick onClickMsg + , Events.on "auxclick" (Json.Decode.succeed onClickMsg) ] ) |> Maybe.withDefault []