simplified the check

This commit is contained in:
amer cerkic 2019-06-10 11:12:29 -07:00
parent 4cad49f561
commit edc1018b2a

View file

@ -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);
}
}