freealise commited on
Commit
9525e4e
1 Parent(s): ba3347a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -647,16 +647,15 @@ async(c, o, b, p, d, n, m)=>{
647
  }
648
  document.getElementById("iframe3D").src = "index.htm";
649
  document.getElementById("iframe3D").onload = function() {
650
- document.getElementById("iframe3D").contentDocument.getElementById("coords").value = c;
651
- document.getElementById("iframe3D").contentDocument.getElementById("order").value = o;
652
- document.getElementById("iframe3D").contentDocument.getElementById("bgcolor").value = b;
653
-
654
  if (o.indexOf(""+n) < 0) {
655
  if (o != "") { o += ","; }
656
  o += n;
657
  }
658
  alert(o);
659
  var o_ = o.split(",");
 
 
 
660
  document.getElementById("iframe3D").contentDocument.getElementById("bgimage").value = "";
661
  document.getElementById("iframe3D").contentDocument.getElementById("bgdepth").value = "";
662
  for (var j=0; j<o_.length; j++) {
 
647
  }
648
  document.getElementById("iframe3D").src = "index.htm";
649
  document.getElementById("iframe3D").onload = function() {
 
 
 
 
650
  if (o.indexOf(""+n) < 0) {
651
  if (o != "") { o += ","; }
652
  o += n;
653
  }
654
  alert(o);
655
  var o_ = o.split(",");
656
+ document.getElementById("iframe3D").contentDocument.getElementById("coords").value = c;
657
+ document.getElementById("iframe3D").contentDocument.getElementById("order").value = o;
658
+ document.getElementById("iframe3D").contentDocument.getElementById("bgcolor").value = b;
659
  document.getElementById("iframe3D").contentDocument.getElementById("bgimage").value = "";
660
  document.getElementById("iframe3D").contentDocument.getElementById("bgdepth").value = "";
661
  for (var j=0; j<o_.length; j++) {