summaryrefslogtreecommitdiff
path: root/js/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-02 07:31:10 +0300
committerAndrew Dolgov <[email protected]>2018-12-02 07:31:10 +0300
commite5f3b755405ebf191835b449d08a2a8ac7dfebfb (patch)
treeb3ab2ca46bdc5d732f56e3d39c3b4b79b2b39e4a /js/feedlist.js
parent1e2d4410d320fcee644add76293f229741a163cb (diff)
fix some minor linter problems
Diffstat (limited to 'js/feedlist.js')
-rw-r--r--js/feedlist.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/feedlist.js b/js/feedlist.js
index 33b5806e5..53274b8ba 100644
--- a/js/feedlist.js
+++ b/js/feedlist.js
@@ -1,4 +1,4 @@
-/* global notify,__,dijit */
+/* global notify,__,dijit,fox */
const Feeds = {
counters_last_request: 0,
@@ -155,6 +155,7 @@ const Feeds = {
url: "backend.php?op=pref_feeds&method=getfeedtree&mode=2"
});
+ // noinspection JSUnresolvedFunction
const treeModel = new fox.FeedStoreModel({
store: store,
query: {
@@ -165,9 +166,10 @@ const Feeds = {
childrenAttrs: ["items"]
});
+ // noinspection JSUnresolvedFunction
const tree = new fox.FeedTree({
model: treeModel,
- onClick: function (item, node) {
+ onClick: function (item/*, node*/) {
const id = String(item.id);
const is_cat = id.match("^CAT:");
const feed = id.substr(id.indexOf(":") + 1);