Fix inheritance of isResizable

Bug: T223086
Change-Id: Ib57b9a0173903db438120b94ffa391e734aee614
This commit is contained in:
Ed Sanders 2019-05-13 12:00:05 +01:00
parent 4c2ef4d7ca
commit 20f876ca69

View file

@ -304,8 +304,11 @@ ve.ce.MWBlockImageNode.prototype.onResizableResizing = function ( dimensions ) {
}
};
/**
* @inheritdoc ve.ce.MWResizableNode
*/
ve.ce.MWBlockImageNode.prototype.isResizable = function () {
return this.model.getMediaType() !== 'AUDIO';
return ve.ce.MWResizableNode.prototype.isResizable.call( this ) && this.model.getMediaType() !== 'AUDIO';
};
ve.ce.MWBlockImageNode.prototype.getDomPosition = function () {