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