solving bug in webview-get-style

This commit is contained in:
2026-07-30 11:53:06 +02:00
parent 39b6e1adf5
commit c02fe6ee99
+4 -4
View File
@@ -1028,14 +1028,14 @@
(let* ((js-code (with-selector sel
(λ (id el)
(let ((cl (eval cl))
(r (make-hash)))
(r '()))
(send cl forEach
(λ (st)
(let ((stl (send window getComputedStyle el)))
(set! (js-ref r st) (js-ref stl st)))))
(make-hash (list
(list 'id id)
(list 'style r)))))))
(list (list 'id id)
(list 'style r))))
))
(r (webview-call-js wv js-code))
)
; (format