🐛 Fix problem with scroll in viewer mode

This commit is contained in:
alonso.torres 2023-06-23 12:55:49 +02:00
parent 2db5925e60
commit ca1e6c342f
2 changed files with 20 additions and 17 deletions

View file

@ -493,7 +493,7 @@
(.remove ^js class-list class-name))))
(defn child? [^js node1 ^js node2]
(when (some? node1)
(when (and (some? node1) (some? node2))
(.contains ^js node2 ^js node1)))
(defn get-user-agent []