Fix not fully formated selector
[MAILPOET-1011]
This commit is contained in:
@@ -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