- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6.2k
Stream repo zip/tar.gz/bundle achives by default #35487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
45f6c20
              9142a38
              3545ba0
              f1e3b38
              2ab754a
              f5648ae
              d447b7c
              d58de54
              9f48582
              6d710e7
              001e4cf
              8523363
              cc5713d
              759abab
              File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -32,7 +32,10 @@ async function onDownloadArchive(e: DOMEvent<MouseEvent>) { | |
| } | ||
|  | ||
| export function initRepoArchiveLinks() { | ||
| queryElems(document, 'a.archive-link[href]', (el) => el.addEventListener('click', onDownloadArchive)); | ||
| // when archive streaming is enabled, the links will work natively without JS | ||
| if (!window.config.streamArchives) { | ||
| queryElems(document, 'a.archive-link[href]', (el) => el.addEventListener('click', onDownloadArchive)); | ||
| } | ||
|          | ||
| } | ||
|  | ||
| export function initRepoActivityTopAuthorsChart() { | ||
|  | ||
Uh oh!
There was an error while loading. Please reload this page.