summaryrefslogtreecommitdiff
path: root/app/products/static/product-loader.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/products/static/product-loader.js')
-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 8c1f7b4..6d04b61 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("images_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);