mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Fix iOS issue : unability to edit large posts
This commit is contained in:
		@@ -99,6 +99,12 @@ ComunicWeb.components.posts.edit = {
 | 
			
		||||
			class: "editor-container"
 | 
			
		||||
		});
 | 
			
		||||
 | 
			
		||||
		//iOS fix : use slimscroll if required
 | 
			
		||||
		updateDiv.style.maxHeight = (window.innerHeight - 200) + "px";
 | 
			
		||||
		$(updateDiv).slimscroll({
 | 
			
		||||
			height: "100%"
 | 
			
		||||
		});
 | 
			
		||||
 | 
			
		||||
		//Create update editor
 | 
			
		||||
		var editorDiv = createElem2({
 | 
			
		||||
			appendTo: updateDiv,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user