mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
Merge "Revert "Revert "Set href attribute of newly inserted image to image title"""
This commit is contained in:
commit
0aa43650b7
|
@ -183,7 +183,8 @@ ve.ui.MWMediaInsertDialog.prototype.teardown = function ( data ) {
|
|||
'attributes': {
|
||||
'type': 'thumb',
|
||||
'align': 'default',
|
||||
'href': info.descriptionurl,
|
||||
//'href': info.descriptionurl,
|
||||
'href': './' + this.item.title,
|
||||
'src': info.thumburl,
|
||||
'width': thumbwidth,
|
||||
'height': thumbheight,
|
||||
|
|
Loading…
Reference in a new issue