mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "Start altText as null to avoid empty alt for new gallery images"
This commit is contained in:
commit
f7d9da3317
|
@ -672,8 +672,8 @@ ve.ui.MWGalleryDialog.prototype.onRequestImagesSuccess = function ( response ) {
|
|||
if ( Object.prototype.hasOwnProperty.call( thumbUrls, title ) ) {
|
||||
items.push( new ve.ui.MWGalleryItemWidget( {
|
||||
resource: title,
|
||||
altText: '',
|
||||
altTextSame: false,
|
||||
altText: null,
|
||||
altTextSame: true,
|
||||
src: '',
|
||||
height: thumbUrls[ title ].height,
|
||||
width: thumbUrls[ title ].width,
|
||||
|
|
Loading…
Reference in a new issue