diff --git a/assets/js/src/newsletters/listings/mixins.jsx b/assets/js/src/newsletters/listings/mixins.jsx index dfab6cb7df..1c0c35ca3c 100644 --- a/assets/js/src/newsletters/listings/mixins.jsx +++ b/assets/js/src/newsletters/listings/mixins.jsx @@ -327,7 +327,7 @@ const _MailerMixin = { MailPoet.I18n.t('mailerCheckSettingsNotice'), /\[link\](.*?)\[\/link\]/g, match => ( - { match } + { match } ) ); if (state.meta.mta_log.error.operation === 'send') { diff --git a/assets/js/src/notice.js b/assets/js/src/notice.js index 26dbde4a0f..c014469a08 100644 --- a/assets/js/src/notice.js +++ b/assets/js/src/notice.js @@ -124,7 +124,7 @@ define('notice', ['mailpoet', 'jquery'], function(mp, jQuery) { if ( this.options.id !== null && - jQuery('[data-id="'+this.options.id+'"').length > 0 + jQuery('[data-id="'+this.options.id+'"]').length > 0 ) { this.updateNotice(); } else {