This commit is contained in:
Hoang Huu
2020-03-24 08:44:42 +07:00
parent 73fb75c3fd
commit 32c3a3da9a
3 changed files with 20 additions and 0 deletions

View File

@@ -587,6 +587,9 @@ jQuery( document ).ready( function ( $ ) {
success: function ( data ) {
if ( data ) {
$content.html( data );
$( 'html, body' ).animate( {
scrollTop: $( '.ajax-load-properties' ).offset().top - 100
}, 500 );
}
}
} );
@@ -599,6 +602,9 @@ jQuery( document ).ready( function ( $ ) {
success: function ( data ) {
if ( data ) {
$content.html( data );
$( 'html, body' ).animate( {
scrollTop: $( '.ajax-load-properties' ).offset().top - 100
}, 500 );
}
}
} );