Skip to content

Commit 2ab754a

Browse files
committed
update comment
1 parent f1e3b38 commit 2ab754a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async function onDownloadArchive(e: DOMEvent<MouseEvent>) {
3232
}
3333

3434
export function initRepoArchiveLinks() {
35-
// when streaming is enabled, the links will work as-is without the need to wait until the archive is ready
35+
// when archive streaming is enabled, the links will work natively without JS
3636
if (!window.config.streamArchives) {
3737
queryElems(document, 'a.archive-link[href]', (el) => el.addEventListener('click', onDownloadArchive));
3838
}

0 commit comments

Comments
 (0)