diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/utils/static/image-loader.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/utils/static/image-loader.js b/app/utils/static/image-loader.js index 3333409..c23cb80 100644 --- a/app/utils/static/image-loader.js +++ b/app/utils/static/image-loader.js @@ -41,5 +41,7 @@ function add_images(){ } document.addEventListener("DOMContentLoaded", function(event) { add_images(); - document.getElementById("id_markdown").style.maxHeight = "300rem" + md = document.textarea["body_markdown"] + md.style.maxHeight = "300rem" + md.style.maxWidth = "300rem" }); |