mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	click_handlers: Remove dead .trigger-natural-click handler.
It’s been unused since its introduction in commit
49f7f02a0a (#25667).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
			
			
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							e2d56db2a3
						
					
				
				
					commit
					cb3cf7ec4a
				
			@@ -888,10 +888,4 @@ export function initialize() {
 | 
			
		||||
    $(".settings-header.mobile .fa-chevron-left").on("click", () => {
 | 
			
		||||
        settings_panel_menu.mobile_deactivate_section();
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    $("body").on("click", ".trigger-natural-click", (e) => {
 | 
			
		||||
        // Jquery prevents default action on anchor for `trigger("click")`
 | 
			
		||||
        // so we need to use click on element to trigger the default action.
 | 
			
		||||
        e.currentTarget.click();
 | 
			
		||||
    });
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user