summaryrefslogtreecommitdiff
path: root/js/FeedTree.js
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-13 02:54:36 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-13 02:54:36 +0000
commit7d6d32144177ce8c516092a114435988864ff6fa (patch)
tree2420651070b680ee282862a14c8a9cd5cb1b7310 /js/FeedTree.js
parent20d2ddabdbc70c3f8f15807ace5bd226082f6a50 (diff)
Address remaining ESLint 'no-undef' and 'no-unused-vars' occurrences.
* https://eslint.org/docs/latest/rules/no-undef * https://eslint.org/docs/latest/rules/no-unused-vars
Diffstat (limited to 'js/FeedTree.js')
-rwxr-xr-xjs/FeedTree.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/FeedTree.js b/js/FeedTree.js
index f0041640d..970efe335 100755
--- a/js/FeedTree.js
+++ b/js/FeedTree.js
@@ -209,10 +209,10 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dojo/_base/array", "dojo/co
getIconClass: function (item, opened) {
return (!item || this.model.mayHaveChildren(item)) ? (opened ? "dijitFolderOpened" : "dijitFolderClosed") : "feed-icon";
},
- getLabelClass: function (item/* , opened */) {
+ getLabelClass: function (item /*, opened */) {
return (item.unread <= 0) ? "dijitTreeLabel" : "dijitTreeLabel Unread";
},
- getRowClass: function (item/*, opened */) {
+ getRowClass: function (item /*, opened */) {
let rc = "dijitTreeRow dijitTreeRowFlex";
const is_cat = String(item.id).indexOf('CAT:') !== -1;
@@ -490,7 +490,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dojo/_base/array", "dojo/co
_itemsByIdentity["FEED:" + feed])[0].
getParent().item.bare_id[0];
- } catch (e) {
+ } catch {
return false;
}
},