Fix eslint rules in ES5 files

This commit is contained in:
Pavel Dohnal
2019-01-23 14:36:39 +01:00
parent 20ae36cf0b
commit f1cbc4a7c6
15 changed files with 82 additions and 92 deletions

View File

@@ -124,8 +124,7 @@ define('notice', ['mailpoet', 'jquery'], function (mp, jQuery) { // eslint-disab
if (
this.options.id !== null
&&
jQuery('[data-id="' + this.options.id + '"]').length > 0
&& jQuery('[data-id="' + this.options.id + '"]').length > 0
) {
this.updateNotice();
} else {