Skip to content

Commit

Permalink
Prevent chrome download page with alt + click (#8669)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaqra authored and zeripath committed Oct 25, 2019
1 parent 560a511 commit c34e58f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit c34e58f

Please sign in to comment.