mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 06:51:26 +03:00
Reflect toggling of 'selected' in the DOM
This commit is contained in:
parent
a5bb596eb3
commit
0516e4c069
@ -617,6 +617,9 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
|
||||
status = messages_get("FormCheckbox");
|
||||
if (mouse & BROWSER_MOUSE_CLICK_1) {
|
||||
gadget->selected = !gadget->selected;
|
||||
dom_html_input_element_set_checked(
|
||||
(dom_html_input_element *)(gadget->node),
|
||||
gadget->selected);
|
||||
html__redraw_a_box(html, gadget_box);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user