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