Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
wozulong authored Jan 17, 2025
1 parent e7d4457 commit 51c333a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ <h1>LINUX DO 抽奖程序</h1>
if (!textarea.value) return;

try {
await navigator.clipboard.writeText('```\ntext' + textarea.value + '\n```');
await navigator.clipboard.writeText('```text\n' + textarea.value + '\n```');
const button = document.getElementById('copyButton');
button.classList.add('success');
setTimeout(() => button.classList.remove('success'), 2000);
Expand Down

0 comments on commit 51c333a

Please sign in to comment.