3d-viewer test
parent
6987303d58
commit
b6243efbab
|
@ -102,7 +102,7 @@
|
|||
this.innerHTML = '<div class="shx-input-forms-container"><div class="shx-input-forms-content"></div></div>';
|
||||
this.container = this.querySelector('.shx-input-forms-container');
|
||||
this.container.style.height = '0px';
|
||||
|
||||
|
||||
this.content = this.container.querySelector('.shx-input-forms-content');
|
||||
|
||||
this.Viewer3D = document.createElement('iframe');
|
||||
|
@ -157,10 +157,8 @@
|
|||
|
||||
if(openAnimation) {
|
||||
// calculate of this height
|
||||
let height = this.container.offsetHeight;
|
||||
|
||||
|
||||
|
||||
container.style.height = 'auto';
|
||||
let height = container.offsetHeight;
|
||||
container.style.height = '0px';
|
||||
|
||||
function animate() {
|
||||
|
|
Loading…
Reference in New Issue