]> BookStack Code Mirror - bookstack/blob - resources/assets/js/global.js
Fixed empty app name and missing bower dependancy
[bookstack] / resources / assets / js / global.js
1 $(function () {
2
3     // Notification hiding
4     $('.notification').click(function () {
5         $(this).fadeOut(100);
6     });
7
8     // Dropdown toggles
9     $('[data-dropdown]').dropDown();
10
11     // Chapter page list toggles
12     $('.chapter-toggle').click(function(e) {
13         e.preventDefault();
14         $(this).toggleClass('open');
15         $(this).closest('.book-child').find('.inset-list').slideToggle(180);
16     });
17
18 });