diff options
author | luxagraf <sng@luxagraf.net> | 2018-10-28 11:40:34 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-10-28 11:40:34 -0600 |
commit | 1f0bfcd35524eab2150d37365203695b50f93d83 (patch) | |
tree | bebe1cf6429801296f5a7344f62d0a56190aa24c /app/utils/static/image-loader.js | |
parent | 744cd23814b128f09b2be7a5a7551177187a855b (diff) |
added an override for weird max height setting in django admin responsive css
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"; }); |