1
0
Fork 0

fix(solvespace): Tries fix k526s-adapter-assy on Android

This commit is contained in:
sovanna 2019-08-12 14:43:14 +02:00
parent fcfe833e14
commit b1872eb755
2 changed files with 9 additions and 2 deletions

View File

@ -99,6 +99,13 @@ The KF25 adapter for the cold head is a much simpler device:
{% layout_treejs(two=true) %}
<div id="k526s-adapter"></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 %}

View File

@ -83,11 +83,11 @@
id: 'k526s-adapter',
model: solvespace_model_k526s_adapter,
params: params_k526s_adapter,
}, {
}/*, {
id: 'k526s-adapter-assy',
model: solvespace_model_k526s_adapter_assy,
params: params_k526s_assy,
}];
}*/];
var node;