WebUI: always provide event variable

This is unifying coding style and avoid wrong usages.

PR #22676.
This commit is contained in:
Chocobo1
2025-05-13 00:11:00 +08:00
committed by GitHub
parent 663da093bd
commit eb82c9078d
32 changed files with 57 additions and 57 deletions

View File

@@ -12,7 +12,7 @@
<script>
"use strict";
window.addEventListener("DOMContentLoaded", () => {
window.addEventListener("DOMContentLoaded", (event) => {
window.addEventListener("keydown", (event) => {
switch (event.key) {
case "Enter":