From 5d00211a8605b0fab9f330082699f6f089961052 Mon Sep 17 00:00:00 2001 From: Arhcout Date: Wed, 25 Sep 2024 10:56:02 +0200 Subject: [PATCH] LibWeb: Don't trigger onchange event when setting + + + + diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp index 14c0a2c1273..1fb9a1d6663 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp @@ -295,7 +295,6 @@ WebIDL::ExceptionOr HTMLSelectElement::set_value(String const& value) for (auto const& option_element : list_of_options()) option_element->set_selected(option_element->value() == value); update_inner_text_element(); - queue_input_and_change_events(); return {}; }