From c34e58fc008d53a5ec92cadadab2b13fb4e0ae94 Mon Sep 17 00:00:00 2001 From: jaqra <48099350+jaqra@users.noreply.github.com> Date: Fri, 25 Oct 2019 14:06:03 +0300 Subject: [PATCH] Prevent chrome download page with alt + click (#8669) --- public/js/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/js/index.js b/public/js/index.js index cf19bf71a0..e76e993a1d 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -3283,6 +3283,8 @@ function initIssueList() { $(".menu a.label-filter-item").each(function() { $(this).click(function(e) { if (e.altKey) { + e.preventDefault(); + const href = $(this).attr("href"); const id = $(this).data("label-id");