0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00

🐛 Fix problem with select method

This commit is contained in:
alonso.torres 2023-05-25 10:04:43 +02:00
parent 9df6de2673
commit 471c9d5526

View file

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