mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-28 02:40:05 +08:00
Cleaned styles further and added loading icon to search
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
$(function () {
|
||||
|
||||
// Notification hiding
|
||||
$('.notification').click(function () {
|
||||
$(this).fadeOut(100);
|
||||
});
|
||||
@ -7,4 +8,11 @@ $(function () {
|
||||
// Dropdown toggles
|
||||
$('[data-dropdown]').dropDown();
|
||||
|
||||
// Chapter page list toggles
|
||||
$('.chapter-toggle').click(function(e) {
|
||||
e.preventDefault();
|
||||
$(this).toggleClass('open');
|
||||
$(this).closest('.book-child').find('.inset-list').slideToggle(180);
|
||||
});
|
||||
|
||||
});
|
Reference in New Issue
Block a user