summaryrefslogtreecommitdiff
path: root/app/utils
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-11 23:08:46 -0500
committerluxagraf <sng@luxagraf.net>2020-11-11 23:08:46 -0500
commit58d5653f381e293addc330bb64337371b4e61e8a (patch)
tree44cf4c43f5fe4acd43131fe26b0fb85bd1ac2bb2 /app/utils
parentd16c597d1e4e52ab1df1c77bda54445437bac5c0 (diff)
improved post admin some more
Diffstat (limited to 'app/utils')
-rw-r--r--app/utils/static/image-loader.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/utils/static/image-loader.js b/app/utils/static/image-loader.js
index 121c3be..a4e75c2 100644
--- a/app/utils/static/image-loader.js
+++ b/app/utils/static/image-loader.js
@@ -2,6 +2,7 @@ function add_images(){
var el = document.getElementById("id_body_markdown");
if (el){
var iframe = '<iframe frameborder="0" style="border: #dddddd 1px solid;margin-left: 20px;width:330px; height:720px;" src="/luximages/insert/?textarea='+el.id+'"></iframe>';
+ iframe.id = "images_id";
el.insertAdjacentHTML('afterend', iframe);
}