mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Merge "$.extend -> ve.extendObject"
This commit is contained in:
commit
b588eb2f97
|
@ -502,7 +502,7 @@ ve.dm.MWImageModel.prototype.insertImageNode = function ( fragment ) {
|
|||
ve.dm.MWImageModel.prototype.getData = function () {
|
||||
var data,
|
||||
originalAttrs = ve.copy( this.getOriginalImageAttributes() ),
|
||||
editAttributes = $.extend( originalAttrs, this.getUpdatedAttributes() ),
|
||||
editAttributes = ve.extendObject( originalAttrs, this.getUpdatedAttributes() ),
|
||||
nodeType = this.getImageNodeType();
|
||||
|
||||
// Remove old classes
|
||||
|
|
Loading…
Reference in a new issue