shx-3d-render
parent
f2e81195de
commit
4ca167ab01
|
@ -148,7 +148,7 @@
|
||||||
|
|
||||||
this.Viewer3DContainer = document.createElement('div');
|
this.Viewer3DContainer = document.createElement('div');
|
||||||
this.Viewer3DContainer.classList.add('shx-threejs-renderer-container');
|
this.Viewer3DContainer.classList.add('shx-threejs-renderer-container');
|
||||||
this.Viewer3DContainer.innerHTML = `{% render 'shx-logo', class:"shx-loading-spinner-mainIcon" %}`;
|
this.Viewer3DContainer.innerHTML = `{% render 'shx-loading-spinner', content_type:"body" %}`;
|
||||||
this.container.appendChild(this.Viewer3DContainer);
|
this.container.appendChild(this.Viewer3DContainer);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% assign content_type = content_type | default: 'body' unless content_type == blank %}
|
{% assign content_type = content_type | default: 'body' %}
|
||||||
|
|
||||||
{% if content_type == 'body' %}
|
{% if content_type == 'body' %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue