diff --git a/assets/js/src/newsletter_editor/blocks/container.js b/assets/js/src/newsletter_editor/blocks/container.js index e7a7c97c6e..59bbd6dd63 100644 --- a/assets/js/src/newsletter_editor/blocks/container.js +++ b/assets/js/src/newsletter_editor/blocks/container.js @@ -111,7 +111,7 @@ Module.ContainerBlocksView = Marionette.CollectionView.extend({ return; } elementClass = event.target.getAttribute('class'); - if (elementClass && elementClass.indexOf('mailpoet_container_horizontal') === -1) { + if (!elementClass || elementClass.indexOf('mailpoet_container_horizontal') === -1) { return; } document.activeElement.blur();