Merge pull request #1061 from mailpoet/safari-error-fix
Safari error fix [MAILPOET-1011]
This commit is contained in:
@@ -327,7 +327,7 @@ const _MailerMixin = {
|
|||||||
MailPoet.I18n.t('mailerCheckSettingsNotice'),
|
MailPoet.I18n.t('mailerCheckSettingsNotice'),
|
||||||
/\[link\](.*?)\[\/link\]/g,
|
/\[link\](.*?)\[\/link\]/g,
|
||||||
match => (
|
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') {
|
if (state.meta.mta_log.error.operation === 'send') {
|
||||||
|
@@ -124,7 +124,7 @@ define('notice', ['mailpoet', 'jquery'], function(mp, jQuery) {
|
|||||||
if (
|
if (
|
||||||
this.options.id !== null
|
this.options.id !== null
|
||||||
&&
|
&&
|
||||||
jQuery('[data-id="'+this.options.id+'"').length > 0
|
jQuery('[data-id="'+this.options.id+'"]').length > 0
|
||||||
) {
|
) {
|
||||||
this.updateNotice();
|
this.updateNotice();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user