I guess that got reverted in a merge.
This commit is contained in:
parent
2bf8d37781
commit
678e4d1116
@ -2323,7 +2323,7 @@
|
||||
},
|
||||
scroll: $.debounce(100, function() {
|
||||
var nodes, nodesPerPage, pageNum;
|
||||
if (Index.req || Conf['Index Mode'] !== 'infinite' || ((d.body.scrollTop || doc.scrollTop) <= doc.scrollHeight - (300 + window.innerHeight)) || g.VIEW === 'thread') {
|
||||
if (Index.req || Conf['Index Mode'] !== 'infinite' || (doc.scrollTop <= doc.scrollHeight - (300 + window.innerHeight)) || g.VIEW === 'thread') {
|
||||
return;
|
||||
}
|
||||
pageNum = Index.getCurrentPage() + 1;
|
||||
|
||||
@ -2333,7 +2333,7 @@
|
||||
},
|
||||
scroll: $.debounce(100, function() {
|
||||
var nodes, nodesPerPage, pageNum;
|
||||
if (Index.req || Conf['Index Mode'] !== 'infinite' || ((d.body.scrollTop || doc.scrollTop) <= doc.scrollHeight - (300 + window.innerHeight)) || g.VIEW === 'thread') {
|
||||
if (Index.req || Conf['Index Mode'] !== 'infinite' || (doc.scrollTop <= doc.scrollHeight - (300 + window.innerHeight)) || g.VIEW === 'thread') {
|
||||
return;
|
||||
}
|
||||
pageNum = Index.getCurrentPage() + 1;
|
||||
|
||||
@ -110,7 +110,7 @@ Index =
|
||||
$.after $.id('delform'), Index.pagelist
|
||||
|
||||
scroll: $.debounce 100, ->
|
||||
return if Index.req or Conf['Index Mode'] isnt 'infinite' or ((d.body.scrollTop or doc.scrollTop) <= doc.scrollHeight - (300 + window.innerHeight)) or g.VIEW is 'thread'
|
||||
return if Index.req or Conf['Index Mode'] isnt 'infinite' or (doc.scrollTop <= doc.scrollHeight - (300 + window.innerHeight)) or g.VIEW is 'thread'
|
||||
pageNum = Index.getCurrentPage() + 1
|
||||
return Index.endNotice() if pageNum >= Index.pagesNum
|
||||
nodesPerPage = Index.threadsNumPerPage * 2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user