You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: