提交 6e62ce5f 编写于 作者: J Johan Preynat

Correctly initialize active chapter in preparePage

上级 051f665f
......@@ -351,6 +351,10 @@ function preparePage(resetScroll) {
if ($chapters.length > 1) {
$scroller.scroll(handleScrolling);
}
// Else, only one chapter, set as active
else {
$activeChapter = $chapters.first();
}
}
function isLeftClickEvent(e) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册