mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-24 10:48:42 +00:00
MWImageNode: Skip empty change descriptions
As in parent method. Change-Id: I320d5d7a8b2f5f7c7e2715c95cbc943533c8b335
This commit is contained in:
parent
fb1ed9e700
commit
c64f5a78cf
|
@ -170,7 +170,9 @@ ve.dm.MWImageNode.static.describeChanges = function ( attributeChanges, attribut
|
|||
continue;
|
||||
}
|
||||
var change = this.describeChange( key, attributeChanges[ key ] );
|
||||
descriptions.push( change );
|
||||
if ( change ) {
|
||||
descriptions.push( change );
|
||||
}
|
||||
}
|
||||
}
|
||||
return descriptions;
|
||||
|
|
Loading…
Reference in a new issue