summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2018-06-08 10:09:24 -0400
committerAnthony G. Basile <blueness@gentoo.org>2018-06-08 10:09:24 -0400
commita6b006c0f1ef757f23375f7906193370337d8bd7 (patch)
tree4467c6423b2c54e6ef8c3e79241a833fb17833a5 /plugins/jetpack/modules/infinite-scroll/infinity.js
parentUpdate akismet 4.0.7 (diff)
downloadblogs-gentoo-a6b006c0f1ef757f23375f7906193370337d8bd7.tar.gz
blogs-gentoo-a6b006c0f1ef757f23375f7906193370337d8bd7.tar.bz2
blogs-gentoo-a6b006c0f1ef757f23375f7906193370337d8bd7.zip
Update jetpack 6.2
Diffstat (limited to 'plugins/jetpack/modules/infinite-scroll/infinity.js')
-rw-r--r--plugins/jetpack/modules/infinite-scroll/infinity.js17
1 files changed, 9 insertions, 8 deletions
diff --git a/plugins/jetpack/modules/infinite-scroll/infinity.js b/plugins/jetpack/modules/infinite-scroll/infinity.js
index a52cbfd0..010b7148 100644
--- a/plugins/jetpack/modules/infinite-scroll/infinity.js
+++ b/plugins/jetpack/modules/infinite-scroll/infinity.js
@@ -70,7 +70,7 @@ Scroller = function( settings ) {
self.thefooter();
// Fire the refresh
self.refresh();
- self.determineURL(); // determine the url
+ self.determineURL(); // determine the url
}
}, 250 );
@@ -131,13 +131,14 @@ Scroller.prototype.render = function( response ) {
*/
Scroller.prototype.query = function() {
return {
- page : this.page + this.offset, // Load the next page.
- currentday : this.currentday,
- order : this.order,
- scripts : window.infiniteScroll.settings.scripts,
- styles : window.infiniteScroll.settings.styles,
- query_args : window.infiniteScroll.settings.query_args,
- last_post_date : window.infiniteScroll.settings.last_post_date
+ page : this.page + this.offset, // Load the next page.
+ currentday : this.currentday,
+ order : this.order,
+ scripts : window.infiniteScroll.settings.scripts,
+ styles : window.infiniteScroll.settings.styles,
+ query_args : window.infiniteScroll.settings.query_args,
+ query_before : window.infiniteScroll.settings.query_before,
+ last_post_date: window.infiniteScroll.settings.last_post_date
};
};