mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Fix inheritance of isResizable
Bug: T223086 Change-Id: Ib57b9a0173903db438120b94ffa391e734aee614
This commit is contained in:
parent
4c2ef4d7ca
commit
20f876ca69
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue