Skip to content

Commit bb33d11

Browse files
committed
🛠 fix pageIndex & stopPrefil debug logs
1 parent b7f99ad commit bb33d11

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎js/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ proto.updateGetPathTemplate = function( optPath ) {
238238
var match = location.href.match( templateRe );
239239
if ( match ) {
240240
this.pageIndex = parseInt( match[1], 10 );
241-
this.log( 'pageIndex', this.pageIndex, 'template string' );
241+
this.log( 'pageIndex', [ this.pageIndex, 'template string' ] );
242242
}
243243
};
244244

‎js/page-load.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ proto.getPrefillDistance = function() {
255255
};
256256

257257
proto.stopPrefill = function() {
258-
console.log('stopping prefill');
258+
this.log('stopPrefill');
259259
this.off( 'append', this.prefill );
260260
};
261261

0 commit comments

Comments
 (0)