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

14 lines
264 B
JavaScript

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