potential fix for #734

This commit is contained in:
albert
2013-03-03 15:40:30 -05:00
parent caacd3f86f
commit 91ca67e9a1

View File

@@ -78,7 +78,7 @@
Danbooru.Post.nav_pool_scroll = function() {
var scroll_top = $(window).scrollTop() + $(window).height();
if (scroll_top > $("#image").height() + $("#image").offset().top + 100) {
if (scroll_top > $("#image").height() + $("#image").offset().top + $(window).height()) {
Danbooru.Post.nav_pool_next();
return;
}