tweak infscroll
This commit is contained in:
parent
1807536859
commit
ee506d2a05
|
@ -23,8 +23,6 @@ function viewNextFeedPage() {
|
|||
try {
|
||||
if (!getActiveFeedId()) return;
|
||||
|
||||
notify_progress("Loading, please wait...");
|
||||
|
||||
viewfeed(getActiveFeedId(), undefined, undefined, undefined,
|
||||
undefined, _feed_cur_page+1);
|
||||
|
||||
|
|
|
@ -1248,7 +1248,7 @@ function headlines_scroll_handler() {
|
|||
|
||||
var e = document.getElementById("headlinesInnerContainer");
|
||||
|
||||
if (e.scrollTop + e.offsetHeight > e.scrollHeight - 300) {
|
||||
if (e.scrollTop + e.offsetHeight > e.scrollHeight - 100) {
|
||||
if (!_infscroll_disable) {
|
||||
debug("more cowbell!");
|
||||
viewNextFeedPage();
|
||||
|
|
Loading…
Reference in New Issue