diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/controls.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/js/controls.js b/src/js/controls.js index f93cb8a3..1cce51f6 100644 --- a/src/js/controls.js +++ b/src/js/controls.js @@ -1578,9 +1578,13 @@ const controls = { element: 'a', href: this.download, target: '_blank', - download: '', }); + // Set download attribute for HTML5 only + if (this.isHTML5) { + attributes.download = ''; + } + const { download } = this.config.urls; if (!is.url(download) && this.isEmbed) { |