mirror of
https://github.com/metosin/reitit.git
synced 2025-12-25 03:08:25 +00:00
Ignore anchors with '_self' not 'self'
This commit is contained in:
parent
6b5c35143d
commit
a25f336d80
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@
|
|||
(not (.-ctrlKey e))
|
||||
(not (.-metaKey e))
|
||||
(not (.-shiftKey e))
|
||||
(not (contains? #{"_blank" "self"} (.getAttribute el "target")))
|
||||
(not (contains? #{"_blank" "_self"} (.getAttribute el "target")))
|
||||
;; Left button
|
||||
(= 0 (.-button e))
|
||||
;; isContentEditable property is inherited from parents,
|
||||
|
|
|
|||
Loading…
Reference in a new issue