mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 14:08:22 +02:00
🐛 Safari compatibility fixes
This commit is contained in:
parent
9260c59afb
commit
001f90a540
12 changed files with 164 additions and 75 deletions
|
@ -245,3 +245,6 @@
|
|||
(defn ^boolean class? [node class-name]
|
||||
(let [class-list (.-classList ^js node)]
|
||||
(.contains ^js class-list class-name)))
|
||||
|
||||
(defn get-user-agent []
|
||||
(.-userAgent js/navigator))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue