mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-28 01:50:09 +00:00
Make sure the download attribute has no value
An empty download attribute means the file name from the URL is used; any value would override the default file name. Change-Id: Idf1d78c4b4570eb7ccd58b5da7d5ce10cfd91b70
This commit is contained in:
parent
6858c41fa6
commit
d062974684
|
@ -64,7 +64,7 @@
|
|||
// TODO: Use oojs-ui constructive button widget instead
|
||||
this.$downloadButton = $( '<a>' )
|
||||
.attr( 'target', '_blank' )
|
||||
.attr( 'download', 'download' )
|
||||
.attr( 'download', '' )
|
||||
.addClass( 'mw-ui-button mw-ui-constructive multimediaviewer-download-button' );
|
||||
|
||||
this.$selectionArrow = $( '<span>' )
|
||||
|
|
Loading…
Reference in a new issue