mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
simplified the check
This commit is contained in:
parent
4cad49f561
commit
edc1018b2a
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ function shutdown() {
|
|||
|
||||
if (!HMD.active) {
|
||||
var toolbar = Toolbars.getToolbar(TOOLBAR_NAME);
|
||||
if (typeof toolbar !== 'undefined') {
|
||||
if (toolbar) {
|
||||
toolbar.writeProperty("visible", true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue