summaryrefslogtreecommitdiff
path: root/js/feedlist.js
diff options
context:
space:
mode:
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);