4 $('.notification').click(function () {
10 $('[data-dropdown]').dropDown();
12 // Chapter page list toggles
13 $('.chapter-toggle').click(function(e) {
15 $(this).toggleClass('open');
16 $(this).closest('.chapter').find('.inset-list').slideToggle(180);
24 Vue.component('image-picker', {
25 template: require('./templates/image-picker.html'),
26 props: ['currentImage', 'name', 'imageClass'],
29 image: this.currentImage
33 showImageManager: function(e) {
35 ImageManager.show(function(image) {
36 _this.image = image.url;
48 // Global Vue Instance