diff --git a/modules/reitit-frontend/src/reitit/frontend/history.cljs b/modules/reitit-frontend/src/reitit/frontend/history.cljs index 129d20b0..7dd1011b 100644 --- a/modules/reitit-frontend/src/reitit/frontend/history.cljs +++ b/modules/reitit-frontend/src/reitit/frontend/history.cljs @@ -64,7 +64,7 @@ fallback to target property if not available" (let [original-event (.getBrowserEvent event)] (if (exists? (.-composedPath original-event)) - (first (.composedPath original-event)) + (aget (.composedPath original-event) 0) (.-target event)))) (defn ignore-anchor-click?