diff --git a/ghost/admin/app/components/modal-impersonate-member.js b/ghost/admin/app/components/modal-impersonate-member.js index b52823c587..4e301a0fd0 100644 --- a/ghost/admin/app/components/modal-impersonate-member.js +++ b/ghost/admin/app/components/modal-impersonate-member.js @@ -19,6 +19,11 @@ export default ModalComponent.extend({ this._signinUrlUpdateTask.perform(); }, + actions: { + // noop - we don't want the enter key doing anything + confirm() {} + }, + copySigninUrl: task(function* () { copyTextToClipboard(this.get('signinUrl')); yield timeout(1000); diff --git a/ghost/admin/app/components/modal-markdown-help.js b/ghost/admin/app/components/modal-markdown-help.js index e083ba9a3c..2ccb30a971 100644 --- a/ghost/admin/app/components/modal-markdown-help.js +++ b/ghost/admin/app/components/modal-markdown-help.js @@ -1,4 +1,8 @@ import ModalComponent from 'ghost-admin/components/modal-base'; export default ModalComponent.extend({ + actions: { + // noop - we don't want the enter key doing anything + confirm() {} + } }); diff --git a/ghost/admin/app/components/modal-member-product.hbs b/ghost/admin/app/components/modal-member-product.hbs index 40bfffaf4e..01e83f8664 100644 --- a/ghost/admin/app/components/modal-member-product.hbs +++ b/ghost/admin/app/components/modal-member-product.hbs @@ -1,14 +1,16 @@ -{{svg-jar - "close"}} + + {{svg-jar "close"}} +