forked from M-Labs/web2019
fix(solvespace): Tries fix k526s-adapter-assy on Android
This commit is contained in:
parent
fcfe833e14
commit
b1872eb755
|
@ -99,6 +99,13 @@ The KF25 adapter for the cold head is a much simpler device:
|
||||||
{% layout_treejs(two=true) %}
|
{% layout_treejs(two=true) %}
|
||||||
<div id="k526s-adapter"></div>
|
<div id="k526s-adapter"></div>
|
||||||
<div id="k526s-adapter-assy"></div>
|
<div id="k526s-adapter-assy"></div>
|
||||||
|
<script id="k526s-adapter-assy" type="text/javascript">
|
||||||
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
|
var node = document.getElementById("k526s-adapter-assy"),
|
||||||
|
params = {width: 400, height: 300, scale: 8};
|
||||||
|
node.parentNode.replaceChild(solvespace(solvespace_model_k526s_adapter_assy, params), node);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -83,11 +83,11 @@
|
||||||
id: 'k526s-adapter',
|
id: 'k526s-adapter',
|
||||||
model: solvespace_model_k526s_adapter,
|
model: solvespace_model_k526s_adapter,
|
||||||
params: params_k526s_adapter,
|
params: params_k526s_adapter,
|
||||||
}, {
|
}/*, {
|
||||||
id: 'k526s-adapter-assy',
|
id: 'k526s-adapter-assy',
|
||||||
model: solvespace_model_k526s_adapter_assy,
|
model: solvespace_model_k526s_adapter_assy,
|
||||||
params: params_k526s_assy,
|
params: params_k526s_assy,
|
||||||
}];
|
}*/];
|
||||||
|
|
||||||
var node;
|
var node;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue