Prevent chrome download page with alt + click (#8669)

tokarchuk/v1.17
jaqra 5 years ago committed by zeripath
parent 560a511a35
commit c34e58fc00
  1. 2
      public/js/index.js

@ -3283,6 +3283,8 @@ function initIssueList() {
$(".menu a.label-filter-item").each(function() { $(".menu a.label-filter-item").each(function() {
$(this).click(function(e) { $(this).click(function(e) {
if (e.altKey) { if (e.altKey) {
e.preventDefault();
const href = $(this).attr("href"); const href = $(this).attr("href");
const id = $(this).data("label-id"); const id = $(this).data("label-id");

Loading…
Cancel
Save