Fix double clicking on text closing TinyMCE instead of selecting word
[MAILPOET-2096]
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user