]> git.wh0rd.org - tt-rss.git/commitdiff
viewfeed: set hsp status when scrolling to the very end
authorAndrew Dolgov <noreply@fakecake.org>
Sun, 12 Jul 2015 10:37:24 +0000 (13:37 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sun, 12 Jul 2015 10:37:24 +0000 (13:37 +0300)
js/viewfeed.js

index 5c437c7b8c802e47b2bf1ef1dcfe189e655f4a59..3fc61605878160149038fea5ffcb662b5cffcc57 100644 (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");