summaryrefslogtreecommitdiff
path: root/app/products
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/products
parentd16c597d1e4e52ab1df1c77bda54445437bac5c0 (diff)
improved post admin some more
Diffstat (limited to 'app/products')
-rw-r--r--app/products/static/product-loader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/products/static/product-loader.js b/app/products/static/product-loader.js
index 20ec0d6..5e9d89c 100644
--- a/app/products/static/product-loader.js
+++ b/app/products/static/product-loader.js
@@ -1,5 +1,5 @@
function add_products(){
- var el = document.getElementById("id_body_markdown");
+ var el = document.getElementById("id_frame");
if (el){
var iframe = '<iframe frameborder="0" style="border: #dddddd 1px solid;margin-left: 20px;width:330px; height:720px;" src="/luxproduct/insert/?textarea='+el.id+'"></iframe>';
el.insertAdjacentHTML('afterend', iframe);