mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	remove any attachment
This commit is contained in:
		
							parent
							
								
									5dc6d613bd
								
							
						
					
					
						commit
						759c58d3f7
					
				| @ -318,10 +318,8 @@ export default { | ||||
|       } | ||||
|     }, | ||||
|     handleAttachmentAdd(event) { | ||||
|       // Prevent pasting in images from the browser | ||||
|       if (!event.attachment.file) { | ||||
|         event.attachment.remove() | ||||
|       } | ||||
|       // Prevent pasting in images/any files from the browser | ||||
|       event.attachment.remove() | ||||
|     } | ||||
|   }, | ||||
|   mounted() { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user