Skip to content

Commit

Permalink
Update preView.html
Browse files Browse the repository at this point in the history
  • Loading branch information
BeardedManZhao committed Apr 13, 2024
1 parent adab39e commit 3aff011
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/preView.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ <h2 class="item_Button noClick" style="text-align: center">
document.querySelector('audio').hidden = false;
} else {
document.querySelector('button').innerText = `不支持预览 *${searchParamType} 点击下载!`
document.querySelector('.download_button').addEventListener('click', () => window.open(searchParam))
}

document.querySelector('.download_button').addEventListener('click', () => window.open(searchParam))
}
</script>

0 comments on commit 3aff011

Please sign in to comment.