diff --git a/racket-webview.rkt b/racket-webview.rkt index 1ac6852..f9fd2a5 100644 --- a/racket-webview.rkt +++ b/racket-webview.rkt @@ -822,8 +822,8 @@ (webview-run-js wv (with-id->el id el (if (or - (= (js-dot el type) "checkbox") - (= (js-dot el type) "radio")) + (== (js-dot el type) "checkbox") + (== (js-dot el type) "radio")) (set! (js-dot el checked) (eval (if (eq? val #f) #f #t))) @@ -869,8 +869,8 @@ (-> wv-win? symbol? (or/c string? boolean?)) (let ((v (webview-call-js wv (with-id->el id el - (if (or (= (js-dot el type) "checkbox") - (= (js-dot el type) "radio")) + (if (or (== (js-dot el type) "checkbox") + (== (js-dot el type) "radio")) (return (js-dot el checked)) (return (js-dot el value))))))) ;(with-id id el