mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Prevent chrome download page with alt + click (#8669)
This commit is contained in:
		@@ -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");
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user