wikijs-fork/client/js/pages/edit.js

14 lines
256 B
JavaScript
Raw Normal View History

2016-08-28 15:27:05 +00:00
if($('#page-type-edit').length) {
2016-09-11 02:53:21 +00:00
let pageEntryPath = $('#page-type-edit').data('entrypath');
2016-08-28 15:27:05 +00:00
//-> Discard
$('.btn-edit-discard').on('click', (ev) => {
$('#modal-edit-discard').toggleClass('is-active');
});
2016-09-11 02:53:21 +00:00
//=include ../components/editor.js
2016-08-28 15:27:05 +00:00
}