diff --git a/modules/reitit-frontend/src/reitit/frontend/history.cljs b/modules/reitit-frontend/src/reitit/frontend/history.cljs index e1aba76d..025141aa 100644 --- a/modules/reitit-frontend/src/reitit/frontend/history.cljs +++ b/modules/reitit-frontend/src/reitit/frontend/history.cljs @@ -92,7 +92,8 @@ (not (.-ctrlKey e)) (not (.-metaKey e)) (not (.-shiftKey e)) - (not (contains? #{"_blank" "_self"} (.getAttribute el "target"))) + (or (not (.hasAttribute el "target")) + (contains? #{"" "_self"} (.getAttribute el "target"))) ;; Left button (= 0 (.-button e)) ;; isContentEditable property is inherited from parents,