mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	stream_edit: Use e.key instead of deprecated e.which.
Tested by making sure Enter works as expected in Stream membership input in Stream setttings.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							7f87ea7e79
						
					
				
				
					commit
					f2aae91cc1
				
			@@ -808,7 +808,7 @@ export function initialize() {
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
    $("#subscriptions_table").on("keyup", ".subscriber_list_add form", (e) => {
 | 
			
		||||
        if (e.which === 13) {
 | 
			
		||||
        if (e.key === "Enter") {
 | 
			
		||||
            e.preventDefault();
 | 
			
		||||
            submit_add_subscriber_form(e);
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user