Skip to content

Commit 974f89a

Browse files
committed
Fix: .fn.scroll() event
1 parent 26d6ea9 commit 974f89a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msreader-files/js/admin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ var MSReader = function($) {
5353
},500);
5454

5555
//load on windows scrolling
56-
$(window).scroll(function() {
56+
$(window).on('scroll', function() {
5757
if(!msreader_main_query.ajax_loading && !msreader_main_query.end && $(this).scrollTop() >= $(document).height() - $(this).height() - $(this).height()/3) {
5858
display_posts_ajax();
5959
}

0 commit comments

Comments
 (0)