WebUI: remove unused variables

PR #21432.
This commit is contained in:
Chocobo1 2024-10-04 22:23:04 +08:00 committed by GitHub
parent c48d2c1dde
commit dc02a0fc56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 7 deletions

View file

@ -175,7 +175,6 @@
}
};
let customSyncLogDataInterval = null;
let logFilterTimer = -1;
let inputtedFilterText = "";
let selectBox;
@ -239,7 +238,6 @@
};
const load = () => {
customSyncLogDataInterval = null;
syncLogWithInterval(100);
};
@ -267,7 +265,7 @@
};
const getSyncLogDataInterval = () => {
return customSyncLogDataInterval ? customSyncLogDataInterval : serverSyncMainDataInterval;
return serverSyncMainDataInterval;
};
const logLevelChanged = () => {

View file

@ -817,13 +817,11 @@
const markArticleAsRead = (path, id) => {
// find row
let rowId, name, uid, unread;
let uid;
for (const row of rssFeedTable.getRowValues()) {
if (row.full_data.dataPath === path) {
rowId = row.full_data.rowId;
name = row.full_data.dataPath;
uid = row.full_data.dataUid;
unread = row.full_data.unread;
break;
}
}