WebUI: prefer arrow function in callbacks

This commit is contained in:
Chocobo1 2024-05-27 22:57:28 +08:00
parent 55bff4f07a
commit 24a1537cdd
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
32 changed files with 215 additions and 214 deletions

View file

@ -135,7 +135,7 @@ window.qBittorrent.Download = (function() {
}
};
$(window).addEventListener("load", function() {
$(window).addEventListener("load", () => {
getPreferences();
getCategories();
});