1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 14:49:42 +02:00

i18n section types

This commit is contained in:
McMatts 2022-03-10 12:10:39 -05:00
parent bca7794c00
commit f735ae1278
11 changed files with 61 additions and 44 deletions

View file

@ -21,7 +21,9 @@ export default Component.extend(ModalMixin, {
hasNameError: empty('page.title'),
hasDescError: empty('page.excerpt'),
didRender() {
didRender(...args) {
this._super(...args);
let self = this;
Mousetrap.bind('esc', function () {
self.send('onCancel');