Describe the bug
View source code auto-load-next-post.(dev).js
row 417
var triggerParams = [ post_title.text(), post_url, post_ID, post_count ];
rows 459-460
// Run an event once the post has loaded.
$( 'body' ).trigger( 'alnp-post-loaded', triggerParams );
And you recomend to use this trigger next side
$('body').on( 'alnp-post-loaded', function( e, params ) {
var post_limit = 10;
if ( params.post_count == post_limit ) {
// Post count has reached maxiumum amount. No more posts will load.
stop_reading = true;
$( nav_container ).remove(); // Remove post navigation.
return;
}
});
params.post_count? Are you seriously?