wikijs-fork/client/js/pages/edit.js
2016-09-10 22:53:21 -04:00

14 lines
256 B
JavaScript

if($('#page-type-edit').length) {
let pageEntryPath = $('#page-type-edit').data('entrypath');
//-> Discard
$('.btn-edit-discard').on('click', (ev) => {
$('#modal-edit-discard').toggleClass('is-active');
});
//=include ../components/editor.js
}