mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-03 11:44:19 +00:00 
			
		
		
		
	Fix Safari bug
This commit is contained in:
		@@ -13,6 +13,10 @@ ComunicWeb.components.posts.ui = {
 | 
			
		||||
	 * @param {HTMLElement} target The target for the post
 | 
			
		||||
	 */
 | 
			
		||||
	display_post: async function(info, target) {
 | 
			
		||||
		
 | 
			
		||||
		// Safari strange bug
 | 
			
		||||
		if(target === undefined)
 | 
			
		||||
			target = arguments[1]
 | 
			
		||||
 | 
			
		||||
		//Check if it is required to create a post root element or not
 | 
			
		||||
		if(target.className.includes("post"))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user