From b8c72fc2448ffb006f378629333d5f1ce35f3f61 Mon Sep 17 00:00:00 2001 From: jaqra Date: Thu, 24 Oct 2019 15:04:03 +0300 Subject: [PATCH] Prevent chrome download page with alt + click --- public/js/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/js/index.js b/public/js/index.js index cf19bf71a0364..e76e993a1d83e 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");