mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	hotkeys: Include .editable-section in processing_text().
Prevents accidental hotkey triggering while span.editable-section is focused. Fixes #5232.
This commit is contained in:
		@@ -150,7 +150,7 @@ exports.get_keypress_hotkey = function (e) {
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
exports.processing_text = function () {
 | 
			
		||||
    var selector = 'input:focus,select:focus,textarea:focus,#compose-send-button:focus';
 | 
			
		||||
    var selector = 'input:focus,select:focus,textarea:focus,#compose-send-button:focus,.editable-section:focus';
 | 
			
		||||
    return $(selector).length > 0;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user