Fix ESLint newline-per-chained-call ES5
[MAILPOET-1031]
This commit is contained in:
@ -19,7 +19,6 @@
|
|||||||
"guard-for-in": 0,
|
"guard-for-in": 0,
|
||||||
"no-prototype-builtins": 0,
|
"no-prototype-builtins": 0,
|
||||||
"no-restricted-syntax": 0,
|
"no-restricted-syntax": 0,
|
||||||
"newline-per-chained-call": 0,
|
|
||||||
"no-useless-concat": 0,
|
"no-useless-concat": 0,
|
||||||
"no-multi-spaces": 0,
|
"no-multi-spaces": 0,
|
||||||
"no-nested-ternary": 0,
|
"no-nested-ternary": 0,
|
||||||
|
@ -50,7 +50,8 @@ define([
|
|||||||
if (newLength < that.options.minLength) newLength = that.options.minLength;
|
if (newLength < that.options.minLength) newLength = that.options.minLength;
|
||||||
|
|
||||||
that.view.model.set(that.options.modelField, newLength + 'px');
|
that.view.model.set(that.options.modelField, newLength + 'px');
|
||||||
}).on('resizeend', function(event) {
|
})
|
||||||
|
.on('resizeend', function(event) {
|
||||||
that.isBeingResized = null;
|
that.isBeingResized = null;
|
||||||
that.$el.removeClass('mailpoet_resize_active');
|
that.$el.removeClass('mailpoet_resize_active');
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user