Don't remove highlight after resizing when settings are still showed

[MAILPOET-1974]
This commit is contained in:
Ján Mikláš
2019-05-02 13:42:45 +02:00
committed by M. Shull
parent 5663b1f745
commit f3301dea3a

View File

@ -55,7 +55,9 @@ BL.HighlightEditingBehavior = Marionette.Behavior.extend({
},
onStopResizing: function onStopResizing(event) {
this.isFocusedByPointer = isEventInsideElement(event, this.view.$el);
this.onStopEditing();
if (!App.getShowedSettingsId()) {
this.onStopEditing();
}
this.view.triggerMethod('resizeStop', event);
},
onDomRefresh: function onDomRefresh() {