diff --git a/racket-webview.rkt b/racket-webview.rkt index a1d129d..f138e00 100644 --- a/racket-webview.rkt +++ b/racket-webview.rkt @@ -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