Permalink
Browse files

Merge pull request #8 from stijink/master

Bugfix to make the plugin working with  on Internet-Explorer 7 + Internet Explorer 8
  • Loading branch information...
2 parents ccd128a + 5dbff5b commit e179be456a2aa0ad9667d57cb0e94a289816c5e5 @fredwu fredwu committed Nov 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.endless-scroll.js
@@ -81,7 +81,7 @@
return; // Scroll will still get called, but nothing will happen
}
- if (this == document) {
+ if (this == document || this == window) {
var is_scrollable = $(document).height() - $(window).height() <= $(window).scrollTop() + options.bottomPixels;
} else {
// calculates the actual height of the scrolling container

0 comments on commit e179be4

Please sign in to comment.