diff --git a/assets/js/src/newsletter_editor/blocks/base.js b/assets/js/src/newsletter_editor/blocks/base.js index 61d49c9553..0be8ec1303 100644 --- a/assets/js/src/newsletter_editor/blocks/base.js +++ b/assets/js/src/newsletter_editor/blocks/base.js @@ -99,8 +99,6 @@ Module.BlockView = AugmentedView.extend({ }, initialize: function initialize() { this.on('showSettings', this.showSettings, this); - this.on('dom:refresh', this.showBlock, this); - this._isFirstRender = true; }, addHighlight: function addHighlight() { this.$el.addClass('mailpoet_highlight'); @@ -141,12 +139,6 @@ Module.BlockView = AugmentedView.extend({ enableDragging: function enableDragging() { this.$el.removeClass('mailpoet_ignore_drag'); }, - showBlock: function showBlock() { - if (this._isFirstRender) { - this.transitionIn(); - this._isFirstRender = false; - } - }, deleteBlock: function deleteBlock() { this.transitionOut().then(function deleteBlockDestroy() { this.model.destroy(); @@ -158,9 +150,6 @@ Module.BlockView = AugmentedView.extend({ { at: this.model.collection.findIndex(this.model) } ); }, - transitionIn: function transitionIn() { - return this._transition('slideDown', 'fadeIn', 'easeOut'); - }, transitionOut: function transitionOut() { return this._transition('slideUp', 'fadeOut', 'easeIn'); },