Skip to content

Commit f53cb84

Browse files
committed
style fix
1 parent a83082e commit f53cb84

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

js/page-load.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,9 @@ proto.onAppendOutlayer = function( response, path, items ) {
167167

168168
// check response for next element
169169
proto.checkLastPage = function( body, path ) {
170-
let { checkLastPage } = this.options;
170+
let { checkLastPage, path: pathOpt } = this.options;
171171
if ( !checkLastPage ) return;
172172

173-
let pathOpt = this.options.path;
174173
// if path is function, check if next path is truthy
175174
if ( typeof pathOpt == 'function' ) {
176175
let nextPath = this.getPath();

0 commit comments

Comments
 (0)