Merge branch 'v3'
This commit is contained in:
commit
72d880383c
@ -4618,7 +4618,7 @@
|
|||||||
},
|
},
|
||||||
scroll: $.debounce(100, function() {
|
scroll: $.debounce(100, function() {
|
||||||
var nodes, nodesPerPage, pageNum;
|
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;
|
return;
|
||||||
}
|
}
|
||||||
pageNum = Index.getCurrentPage() + 1;
|
pageNum = Index.getCurrentPage() + 1;
|
||||||
|
|||||||
@ -4629,7 +4629,7 @@
|
|||||||
},
|
},
|
||||||
scroll: $.debounce(100, function() {
|
scroll: $.debounce(100, function() {
|
||||||
var nodes, nodesPerPage, pageNum;
|
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;
|
return;
|
||||||
}
|
}
|
||||||
pageNum = Index.getCurrentPage() + 1;
|
pageNum = Index.getCurrentPage() + 1;
|
||||||
|
|||||||
@ -110,7 +110,7 @@ Index =
|
|||||||
$.after $.id('delform'), Index.pagelist
|
$.after $.id('delform'), Index.pagelist
|
||||||
|
|
||||||
scroll: $.debounce 100, ->
|
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
|
pageNum = Index.getCurrentPage() + 1
|
||||||
return Index.endNotice() if pageNum >= Index.pagesNum
|
return Index.endNotice() if pageNum >= Index.pagesNum
|
||||||
nodesPerPage = Index.threadsNumPerPage * 2
|
nodesPerPage = Index.threadsNumPerPage * 2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user