This commit is contained in:
albert
2013-02-28 22:16:18 -08:00
parent 0f4d7709b6
commit 6b0a968e09

View File

@@ -69,9 +69,11 @@
location.href = href; location.href = href;
} else { } else {
var href = $("#pool-nav a.active[rel=next]").attr("href") var href = $("#pool-nav a.active[rel=next]").attr("href")
if (href) {
location.href = href; location.href = href;
} }
} }
}
Danbooru.Post.nav_pool_scroll = function() { Danbooru.Post.nav_pool_scroll = function() {
var scroll_top = $(window).scrollTop() + $(window).height(); var scroll_top = $(window).scrollTop() + $(window).height();