From 03daede441edb4e3498c47502ee64668e7c137aa Mon Sep 17 00:00:00 2001 From: j Date: Fri, 18 Oct 2024 17:49:54 +0100 Subject: [PATCH] pass download --- static/mobile/js/utils.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/mobile/js/utils.js b/static/mobile/js/utils.js index e3597fd5..92d6c806 100644 --- a/static/mobile/js/utils.js +++ b/static/mobile/js/utils.js @@ -125,7 +125,10 @@ const clickLink = function(event) { } document.location.hash = '#' + link.slice(1) } else { - if (!link.startsWith('/m')) { + if (link.includes('/download/')) { + document.location.href = link + return + } else if (!link.startsWith('/m')) { link = '/m' + link } history.pushState({}, '', link);