1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 11:41:27 +00:00

even more objectification of JS

This commit is contained in:
Andrew Dolgov
2018-12-01 17:54:16 +03:00
parent 1d82bd4f19
commit 97df81d8d9
4 changed files with 109 additions and 110 deletions

View File

@@ -43,7 +43,7 @@ const Feeds = {
parseCounters: function (elems) {
for (let l = 0; l < elems.length; l++) {
if (this._counters_prev[l] && this.counterEquals(elems[l], this._counters_prev[l])) {
if (Feeds._counters_prev[l] && this.counterEquals(elems[l], this._counters_prev[l])) {
continue;
}
@@ -169,7 +169,7 @@ const Feeds = {
const id = String(item.id);
const is_cat = id.match("^CAT:");
const feed = id.substr(id.indexOf(":") + 1);
this.viewfeed({feed: feed, is_cat: is_cat});
Feeds.viewfeed({feed: feed, is_cat: is_cat});
return false;
},
openOnClick: false,