WebUI: use native functions for event handling

PR #21147.
This commit is contained in:
Chocobo1
2024-08-07 22:00:54 +08:00
committed by GitHub
parent 989b1d176d
commit 2d9e3b3330
30 changed files with 261 additions and 196 deletions

View File

@@ -2975,7 +2975,7 @@ Use ';' to split multiple entries. Can use wildcard '*'.)QBT_TR[CONTEXT=OptionsD
if ((buildInfo.platform !== "macos") && (buildInfo.platform !== "windows"))
$("rowMarkOfTheWeb").style.display = "none";
$("networkInterface").addEvent("change", function() {
$("networkInterface").addEventListener("change", function() {
updateInterfaceAddresses($(this).value, "");
});