mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 17:02:48 +01:00
Prevent chrome download page with alt + click (#8669)
This commit is contained in:
parent
560a511a35
commit
c34e58fc00
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue