alt-s to save and send message
This commit is contained in:
		
							parent
							
								
									a278d54a15
								
							
						
					
					
						commit
						7e44a63fec
					
				| 
						 | 
					@ -93,6 +93,14 @@
 | 
				
			||||||
      message.content = original
 | 
					      message.content = original
 | 
				
			||||||
      editing = false
 | 
					      editing = false
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    if (event.altKey && event.key === 's') {
 | 
				
			||||||
 | 
					      if (!editing) return
 | 
				
			||||||
 | 
					      event.stopPropagation()
 | 
				
			||||||
 | 
					      event.preventDefault()
 | 
				
			||||||
 | 
					      exit()
 | 
				
			||||||
 | 
					      checkTruncate()
 | 
				
			||||||
 | 
					      setTimeout(checkTruncate, 10)
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Double click for mobile support
 | 
					  // Double click for mobile support
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue