summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-07-12 13:37:24 +0300
committerAndrew Dolgov <[email protected]>2015-07-12 13:37:24 +0300
commit39d488a256314b18d9cebce6c3da361dcff49bc0 (patch)
tree5c2b155c527f07ff7f3361dea9956ef0b9d1f689 /js
parent15ae8cd0844b5beaee016ac769ec215adc0b4959 (diff)
viewfeed: set hsp status when scrolling to the very end
Diffstat (limited to 'js')
-rw-r--r--js/viewfeed.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js
index 5c437c7b8..3fc616058 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 = "<a href='#' onclick='openNextUnreadFeed()'>" +
+ __("Click to open next unread feed.") + "</a>";
+ }
+
} else {
console.log("no new headlines received");