summaryrefslogtreecommitdiff
path: root/js/feedlist.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/feedlist.js')
-rw-r--r--js/feedlist.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/feedlist.js b/js/feedlist.js
index 53274b8ba..400328317 100644
--- a/js/feedlist.js
+++ b/js/feedlist.js
@@ -212,7 +212,7 @@ const Feeds = {
Utils.setLoadingProgress(50);
document.onkeydown = () => { App.hotkeyHandler(event) };
- window.setInterval(() => { Headlines.catchupBatchedArticles() }, 10 * 1000);
+ window.setInterval(() => { Headlines.catchupBatched() }, 10 * 1000);
if (!this.getActiveFeedId()) {
this.viewfeed({feed: -3});
@@ -304,7 +304,7 @@ const Feeds = {
if (feed != this.getActiveFeedId() || this.activeFeedIsCat() != is_cat) {
this._search_query = false;
- Article.setActiveArticleId(0);
+ Article.setActive(0);
}
if (offset != 0) {
@@ -371,7 +371,7 @@ const Feeds = {
window.clearTimeout(this._viewfeed_wait_timeout);
this._viewfeed_wait_timeout = window.setTimeout(() => {
- Headlines.catchupBatchedArticles(() => {
+ Headlines.catchupBatched(() => {
xhrPost("backend.php", query, (transport) => {
try {
window.clearTimeout(this._infscroll_timeout);
@@ -494,7 +494,7 @@ const Feeds = {
rows.each(function (row) {
row.removeClassName("Unread");
- if (row.getAttribute("data-article-id") != Article.getActiveArticleId()) {
+ if (row.getAttribute("data-article-id") != Article.getActive()) {
new Effect.Fade(row, {duration: 0.5});
}