mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 08:48:07 -06:00
WebUI: prefer arrow function in callbacks
This commit is contained in:
@@ -135,7 +135,7 @@ window.qBittorrent.Download = (function() {
|
||||
}
|
||||
};
|
||||
|
||||
$(window).addEventListener("load", function() {
|
||||
$(window).addEventListener("load", () => {
|
||||
getPreferences();
|
||||
getCategories();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user