Skip to content

Commit cbc80cb

Browse files
committed
Update web_src/js/features/copycontent.js
1 parent a4c2ab8 commit cbc80cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web_src/js/features/copycontent.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ export function initCopyContent() {
4545
try {
4646
await doCopy(content, btn);
4747
} catch {
48-
if (isImage) {
49-
// convert image to png as last-resort as some browser only support png copy
48+
if (isImage) { // convert image to png as last-resort as some browser only support png copy
5049
try {
5150
await doCopy(await imageBlobToPng(content), btn);
5251
} catch {

0 commit comments

Comments
 (0)