diff --git a/frontend/src/app/util/dom.cljs b/frontend/src/app/util/dom.cljs index 23a3e6aa0..300fccd4f 100644 --- a/frontend/src/app/util/dom.cljs +++ b/frontend/src/app/util/dom.cljs @@ -234,7 +234,7 @@ (defn select-text! [^js node] - (when (some? node) + (when (and (some? node) (or (= "INPUT" (.-tagName node)) (= "TEXTAREA" (.-tagName node)))) (.select ^js node))) (defn ^boolean equals?