mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	copy_and_paste: Replace deprecated jQuery.fn.bind.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							3510dcbe5e
						
					
				
				
					commit
					25883d7827
				
			@@ -329,7 +329,7 @@ exports.paste_handler = function (event) {
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
exports.initialize = function () {
 | 
			
		||||
    $("#compose-textarea").bind("paste", exports.paste_handler);
 | 
			
		||||
    $("#compose-textarea").on("paste", exports.paste_handler);
 | 
			
		||||
    $("body").on("paste", "#message_edit_form", exports.paste_handler);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user