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:
Gergő Tisza 2014-04-04 01:34:31 +00:00
parent 6858c41fa6
commit d062974684

View file

@ -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>' )