summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/utils/static/image-loader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/utils/static/image-loader.js b/app/utils/static/image-loader.js
index 2744251..a2f9049 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.forms["entry_form"].elements["body_markdown"];
+ md = document.forms["post_form"].elements["body_markdown"];
md.style.maxHeight = "300rem";
md.style.maxWidth = "300rem";
});