mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	js: Replace deprecated jQuery event trigger shorthand.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							4e42137bd9
						
					
				
				
					commit
					a9ca5f603b
				
			@@ -33,7 +33,7 @@ exports.smart_insert = function (textarea, syntax) {
 | 
			
		||||
        syntax += " ";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    textarea.focus();
 | 
			
		||||
    textarea.trigger("focus");
 | 
			
		||||
 | 
			
		||||
    // We prefer to use insertText, which supports things like undo better
 | 
			
		||||
    // for rich-text editing features like inserting links.  But we fall
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user