mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 09:24:59 -06:00
WebUI: iterate over own properties only
This commit is contained in:
@@ -240,8 +240,11 @@
|
||||
};
|
||||
|
||||
const unload = () => {
|
||||
for (const table in tableInfo)
|
||||
for (const table in tableInfo) {
|
||||
if (!Object.hasOwn(tableInfo, table))
|
||||
continue;
|
||||
resetTableTimer(table);
|
||||
}
|
||||
};
|
||||
|
||||
const load = () => {
|
||||
|
||||
Reference in New Issue
Block a user