Merge "$.extend -> ve.extendObject"

This commit is contained in:
jenkins-bot 2018-11-07 18:28:08 +00:00 committed by Gerrit Code Review
commit b588eb2f97

View file

@ -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