Ignore anchors with '_self' not 'self'

This commit is contained in:
Alex King 2019-04-09 16:23:33 +02:00 committed by Juho Teperi
parent 6b5c35143d
commit a25f336d80

View file

@ -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,