hide install menu in onshape
This commit is contained in:
parent
5fd8e3bed9
commit
21eda9d9c3
1 changed files with 4 additions and 0 deletions
|
|
@ -58,6 +58,10 @@ function checkReady() {
|
||||||
bootctrl.postMessage({ clear: true, disable: true });
|
bootctrl.postMessage({ clear: true, disable: true });
|
||||||
location.reload();
|
location.reload();
|
||||||
}
|
}
|
||||||
|
} else if (api.onshape) {
|
||||||
|
$('install').classList.add('hide');
|
||||||
|
$('uninstall').classList.add('hide');
|
||||||
|
$('app-quit').classList.add('hide');
|
||||||
} else {
|
} else {
|
||||||
$('install').onclick = () => {
|
$('install').onclick = () => {
|
||||||
location.replace('/boot');
|
location.replace('/boot');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue