mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
LibWeb: Stop radio buttons firing change events when losing focus
This commit is contained in:
@@ -638,6 +638,7 @@ void HTMLInputElement::commit_pending_changes()
|
||||
case TypeAttributeState::Text:
|
||||
case TypeAttributeState::URL:
|
||||
case TypeAttributeState::Checkbox:
|
||||
case TypeAttributeState::RadioButton:
|
||||
if (!m_has_uncommitted_changes)
|
||||
return;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user