1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00

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

This commit is contained in:
jaqra 2019-10-25 14:06:03 +03:00 committed by zeripath
parent 560a511a35
commit c34e58fc00

View File

@ -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");