Skip to content

Commit 6ff315e

Browse files
committed
Update web_src/js/features/copycontent.js
1 parent a16485b commit 6ff315e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/copycontent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function initCopyContent() {
3030
} finally {
3131
btn.classList.remove('is-loading');
3232
}
33-
} else { // text, copy from DOM
33+
} else { // text, read from DOM
3434
const lineEls = document.querySelectorAll('.file-view .lines-code');
3535
content = Array.from(lineEls).map((el) => el.textContent).join('');
3636
}

0 commit comments

Comments
 (0)