diff --git a/scripts/system/tablet-ui/tabletUI.js b/scripts/system/tablet-ui/tabletUI.js index 5db29b2738..7011aa4cab 100644 --- a/scripts/system/tablet-ui/tabletUI.js +++ b/scripts/system/tablet-ui/tabletUI.js @@ -56,9 +56,10 @@ if (tabletShown && UIWebTablet && Overlays.getOverlayType(UIWebTablet.webOverlayID) != "web3d") { // when we switch domains, the tablet entity gets destroyed and recreated. this causes - // the overlay to be deleted, but not recreated. repair this situation here: + // the overlay to be deleted, but not recreated. If the overlay is deleted for this or any + // other reason, close the tablet. hideTabletUI(); - showTabletUI(); + HMD.closeTablet(); } else if (HMD.showTablet && !tabletShown) { showTabletUI(); } else if (!HMD.showTablet && tabletShown) {