mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Documentation fix in MWBlockImageNode
Change-Id: I8203474b8816197421ee18c5513b4c7235adb1da
This commit is contained in:
parent
cdc8c6bc06
commit
ae6f22910f
|
@ -175,7 +175,9 @@ ve.ce.MWBlockImageNode.prototype.updateClasses = function ( oldAlign ) {
|
|||
/**
|
||||
* Redraw the image and its wrappers at the specified dimensions
|
||||
*
|
||||
* @param {Number} [dimensions] Dimensions to update to, uses the model values if undefined
|
||||
* The current dimensions from the model are used if none are specified.
|
||||
*
|
||||
* @param {Object} [dimensions] Dimension object containing width & height
|
||||
*/
|
||||
ve.ce.MWBlockImageNode.prototype.updateSize = function ( dimensions ) {
|
||||
if ( !dimensions ) {
|
||||
|
|
Loading…
Reference in a new issue