mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 07:46:17 -07:00
WebUI: prefer arrow function in callbacks
This commit is contained in:
parent
55bff4f07a
commit
24a1537cdd
32 changed files with 215 additions and 214 deletions
|
@ -135,7 +135,7 @@ window.qBittorrent.Download = (function() {
|
|||
}
|
||||
};
|
||||
|
||||
$(window).addEventListener("load", function() {
|
||||
$(window).addEventListener("load", () => {
|
||||
getPreferences();
|
||||
getCategories();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue