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.

15 lines
389 B

  1. /* global $ */
  2. if ($('#page-type-edit').length) {
  3. let pageEntryPath = $('#page-type-edit').data('entrypath') // eslint-disable-line no-unused-vars
  4. // -> Discard
  5. $('.btn-edit-discard').on('click', (ev) => {
  6. $('#modal-edit-discard').toggleClass('is-active')
  7. })
  8. /* eslint-disable spaced-comment */
  9. //=include ../components/editor.js
  10. /* eslint-enable spaced-comment */
  11. }