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