Merge "Fix inheritance of isResizable"

This commit is contained in:
jenkins-bot 2019-05-13 18:11:44 +00:00 committed by Gerrit Code Review
commit a0a1f5422e

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 () {