Merge pull request #1061 from mailpoet/safari-error-fix

Safari error fix [MAILPOET-1011]
This commit is contained in:
amine-mp
2017-08-28 13:33:43 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -327,7 +327,7 @@ const _MailerMixin = {
MailPoet.I18n.t('mailerCheckSettingsNotice'),
/\[link\](.*?)\[\/link\]/g,
match => (
<a href={'?page=mailpoet-settings#mta'}>{ match }</a>
<a href={'?page=mailpoet-settings#mta'} key="check-sending">{ match }</a>
)
);
if (state.meta.mta_log.error.operation === 'send') {

View File

@@ -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 {