mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 05:51:28 +00:00
fix some minor linter problems
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user