Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
$(document.body).height() gets the same height as $(window).height() in some cases (for example if you use the foundation framework, because it sets the body height to 100%). Change $(document.body).height() to $(document).height() works fine.
- Loading branch information