mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 23:05:35 +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': {
|
'attributes': {
|
||||||
'type': 'thumb',
|
'type': 'thumb',
|
||||||
'align': 'default',
|
'align': 'default',
|
||||||
'href': info.descriptionurl,
|
//'href': info.descriptionurl,
|
||||||
|
'href': './' + this.item.title,
|
||||||
'src': info.thumburl,
|
'src': info.thumburl,
|
||||||
'width': thumbwidth,
|
'width': thumbwidth,
|
||||||
'height': thumbheight,
|
'height': thumbheight,
|
||||||
|
|
Loading…
Reference in a new issue