Make radio checkboxes work in eww
* lisp/net/eww.el (eww-toggle-checkbox): Actually update the :checked values in the form.
This commit is contained in:
parent
ba33089d50
commit
7b99fc0069
1 changed files with 2 additions and 2 deletions
|
@ -1595,9 +1595,9 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.")
|
|||
(goto-char (car elem))
|
||||
(if (not (eq (cdr elem) input))
|
||||
(progn
|
||||
(plist-put input :checked nil)
|
||||
(plist-put (cdr elem) :checked nil)
|
||||
(eww-update-field eww-form-checkbox-symbol))
|
||||
(plist-put input :checked t)
|
||||
(plist-put (cdr elem) :checked t)
|
||||
(eww-update-field eww-form-checkbox-selected-symbol)))))
|
||||
(forward-char 1)))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue