mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Merge "Fix inheritance of isResizable"
This commit is contained in:
commit
a0a1f5422e
|
@ -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