]> git.wh0rd.org Git - tt-rss.git/commitdiff
adjust scroll amount to trigger auto-opening next unread feed
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 25 Jul 2014 11:40:38 +0000 (15:40 +0400)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 25 Jul 2014 11:40:38 +0000 (15:40 +0400)
js/viewfeed.js

index 76248415aef7f07a10e92a57813701bc4590a35f..8f4b6dfe87dad0183f53a9c99fe4fbd3f5499e2d 100644 (file)
@@ -1365,7 +1365,7 @@ function headlines_scroll_handler(e) {
                                var child = $$("#headlines-frame div[id*=RROW]").last();
 
                                if (child && $("headlines-frame").scrollTop >
-                                               (child.offsetTop + child.offsetHeight/2)) {
+                                               (child.offsetTop + child.offsetHeight - 50)) {
 
                                        console.log("we seem to be at an end");