Difference between revisions of "Template:BNU-CHINA/article"
Line 59: | Line 59: | ||
} | } | ||
}); | }); | ||
+ | |||
+ | if($(window).scrollTop() + $(window).height() == $(document).height()) { | ||
+ | currentIdx = $("article h2").length - 1; | ||
+ | } | ||
$("ul.sub-nav a").css({ | $("ul.sub-nav a").css({ |
Revision as of 20:46, 17 September 2015