Skip to content

Commit

Permalink
Update metadata.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinLiquid authored May 15, 2024
1 parent c2ece36 commit 58337d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ class Metadata {

this.download.on('click', () => {
var link = document.createElement("a")
link.setAttribute('download', '')
link.href = this.player.audio.src
document.body.appendChild(link)
link.click()
Expand Down

0 comments on commit 58337d2

Please sign in to comment.