Cleaned styles further and added loading icon to search

This commit is contained in:
Dan Brown
2015-09-03 19:05:45 +01:00
parent d990c3cec9
commit 6ded178dc0
15 changed files with 150 additions and 121 deletions

View File

@ -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);
});
});