mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-05 07:02:31 -06:00
WebUI: always provide event variable
This is unifying coding style and avoid wrong usages. PR #22676.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<script>
|
||||
"use strict";
|
||||
|
||||
window.addEventListener("DOMContentLoaded", () => {
|
||||
window.addEventListener("DOMContentLoaded", (event) => {
|
||||
window.addEventListener("keydown", (event) => {
|
||||
switch (event.key) {
|
||||
case "Enter":
|
||||
|
||||
Reference in New Issue
Block a user