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/create.js

13 lines
268 B

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
}