summaryrefslogtreecommitdiff
path: root/js/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-01 17:54:16 +0300
committerAndrew Dolgov <[email protected]>2018-12-01 17:54:16 +0300
commit97df81d8d9d9ebcbf5a41dd736924d7a61855fbc (patch)
tree2ed6e123dffba1d4f14950333e7400e0f2815457 /js/feedlist.js
parent1d82bd4f19de40f0cf966545c372595caa2c8afe (diff)
even more objectification of JS
Diffstat (limited to 'js/feedlist.js')
-rw-r--r--js/feedlist.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/feedlist.js b/js/feedlist.js
index a95a82672..a0b552132 100644
--- a/js/feedlist.js
+++ b/js/feedlist.js
@@ -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,