viewfeed: set hsp status when scrolling to the very end

This commit is contained in:
Andrew Dolgov 2015-07-12 13:37:24 +03:00
parent 15ae8cd084
commit 39d488a256
1 changed files with 5 additions and 0 deletions

View File

@ -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");