diff --git a/scripts/system/controllers/controllerDispatcher.js b/scripts/system/controllers/controllerDispatcher.js index 1ce695c87f..d3f37ac62b 100644 --- a/scripts/system/controllers/controllerDispatcher.js +++ b/scripts/system/controllers/controllerDispatcher.js @@ -228,7 +228,7 @@ Script.include("/~/system/libraries/controllerDispatcherUtils.js"); nearbyOverlays.splice(tabletIndex, 1); } if (miniTabletIndex !== -1 - && (closebyOverlays.indexOf(_this.miniTabletID) === -1) || h !== _this.miniTabletHand) { + && ((closebyOverlays.indexOf(_this.miniTabletID) === -1) || h !== _this.miniTabletHand)) { nearbyOverlays.splice(miniTabletIndex, 1); } } diff --git a/scripts/system/controllers/controllerModules/nearParentGrabOverlay.js b/scripts/system/controllers/controllerModules/nearParentGrabOverlay.js index 2c881aceca..fc5c2f9f79 100644 --- a/scripts/system/controllers/controllerModules/nearParentGrabOverlay.js +++ b/scripts/system/controllers/controllerModules/nearParentGrabOverlay.js @@ -45,7 +45,7 @@ Script.include("/~/system/libraries/utils.js"); this.setMiniTabletID = function (id) { this.miniTabletID = id; - } + }; this.otherHandIsParent = function(props) { return this.getOtherModule().thisHandIsParent(props);