You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wiki/client/js/pages/edit.js

14 lines
256 B

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
}