WebUI: iterate over own properties only

This commit is contained in:
Chocobo1
2024-05-08 15:43:02 +08:00
parent b07afa3ea9
commit 64dfb7e122
9 changed files with 38 additions and 5 deletions

View File

@@ -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 = () => {