aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/repo-common.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/features/repo-common.js')
-rw-r--r--web_src/js/features/repo-common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/repo-common.js b/web_src/js/features/repo-common.js
index 2ae4f9c94e..3ddabe10f1 100644
--- a/web_src/js/features/repo-common.js
+++ b/web_src/js/features/repo-common.js
@@ -35,7 +35,7 @@ function getArchive($target, url, first) {
export function initRepoArchiveLinks() {
$('.archive-link').on('click', function (event) {
event.preventDefault();
- const url = $(this).data('url');
+ const url = $(this).attr('href');
if (!url) return;
getArchive($(event.target), url, true);
});