diff --git a/.eslintrc.es5.json b/.eslintrc.es5.json index c7d5f903e5..dedd1d1b40 100644 --- a/.eslintrc.es5.json +++ b/.eslintrc.es5.json @@ -19,7 +19,6 @@ "guard-for-in": 0, "no-prototype-builtins": 0, "no-restricted-syntax": 0, - "newline-per-chained-call": 0, "no-useless-concat": 0, "no-multi-spaces": 0, "no-nested-ternary": 0, diff --git a/assets/js/src/newsletter_editor/behaviors/ResizableBehavior.js b/assets/js/src/newsletter_editor/behaviors/ResizableBehavior.js index 467989fb98..7503709ce9 100644 --- a/assets/js/src/newsletter_editor/behaviors/ResizableBehavior.js +++ b/assets/js/src/newsletter_editor/behaviors/ResizableBehavior.js @@ -50,7 +50,8 @@ define([ if (newLength < that.options.minLength) newLength = that.options.minLength; that.view.model.set(that.options.modelField, newLength + 'px'); - }).on('resizeend', function(event) { + }) + .on('resizeend', function(event) { that.isBeingResized = null; that.$el.removeClass('mailpoet_resize_active'); });