Added cross-book page/chapter sorting

This commit is contained in:
Dan Brown
2015-09-06 14:35:53 +01:00
parent 411c331a62
commit e449f25cc8
12 changed files with 239 additions and 129 deletions

View File

@ -13,7 +13,7 @@ $(function () {
$('.chapter-toggle').click(function(e) {
e.preventDefault();
$(this).toggleClass('open');
$(this).closest('.book-child').find('.inset-list').slideToggle(180);
$(this).closest('.chapter').find('.inset-list').slideToggle(180);
});
});