From 39d488a256314b18d9cebce6c3da361dcff49bc0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 12 Jul 2015 13:37:24 +0300 Subject: [PATCH] viewfeed: set hsp status when scrolling to the very end --- js/viewfeed.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/viewfeed.js b/js/viewfeed.js index 5c437c7b..3fc61605 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -175,6 +175,11 @@ function headlines_callback2(transport, offset, background, infscroll_req) { new Effect.Appear(child, { duration : 0.5 }); }); + if (_infscroll_disable) { + hsp.innerHTML = "" + + __("Click to open next unread feed.") + ""; + } + } else { console.log("no new headlines received"); -- 2.39.5