mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	* Chore: Enable file upload for facebook messenger * Chore: Fix attachments * Chore: Fix Specs * Fix ReplyBox file attachment logic * Set default value for message Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
		
			
				
	
	
		
			12 lines
		
	
	
		
			185 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			185 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
export const isEnter = e => {
 | 
						|
  return e.keyCode === 13;
 | 
						|
};
 | 
						|
 | 
						|
export const isEscape = e => {
 | 
						|
  return e.keyCode === 27;
 | 
						|
};
 | 
						|
 | 
						|
export const hasPressedShift = e => {
 | 
						|
  return e.shiftKey;
 | 
						|
};
 |