diff options
Diffstat (limited to 'src/js/controls.js')
-rw-r--r-- | src/js/controls.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/js/controls.js b/src/js/controls.js index 73903e16..78d3144f 100644 --- a/src/js/controls.js +++ b/src/js/controls.js @@ -1244,8 +1244,8 @@ const controls = { controls.focusFirstMenuItem.call(this, target, tabFocus); }, - // Set the download link - setDownloadLink() { + // Set the download URL + setDownloadUrl() { const button = this.elements.buttons.download; // Bail if no button @@ -1253,7 +1253,7 @@ const controls = { return; } - // Set download link + // Set attribute button.setAttribute('href', this.download); }, |