mirror of https://github.com/requarks/wiki
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.
16 lines
389 B
16 lines
389 B
/* global $ */
|
|
|
|
if ($('#page-type-edit').length) {
|
|
let pageEntryPath = $('#page-type-edit').data('entrypath') // eslint-disable-line no-unused-vars
|
|
|
|
// -> Discard
|
|
|
|
$('.btn-edit-discard').on('click', (ev) => {
|
|
$('#modal-edit-discard').toggleClass('is-active')
|
|
})
|
|
|
|
/* eslint-disable spaced-comment */
|
|
//=include ../components/editor.js
|
|
/* eslint-enable spaced-comment */
|
|
}
|