mirror of
https://github.com/metosin/reitit.git
synced 2025-12-21 18:11:12 +00:00
Merge pull request #301 from uosl/fix/composedpath
Use aget for composedPath to avoid casting JS array to seq
This commit is contained in:
commit
10c9097c40
1 changed files with 1 additions and 1 deletions
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Reference in a new issue