Fix not fully formated selector

[MAILPOET-1011]
This commit is contained in:
Pavel Dohnal
2017-08-24 10:23:42 +02:00
parent c598537025
commit 1b7e3a997f

View File

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