From 8294df8b76f02d5678ea3d3d7f8f6be832b73bf4 Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Wed, 12 Jul 2017 15:37:06 -0700 Subject: [PATCH] != to !== --- .../marketplace/spectator-camera/spectatorCamera.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unpublishedScripts/marketplace/spectator-camera/spectatorCamera.js b/unpublishedScripts/marketplace/spectator-camera/spectatorCamera.js index 28d57528cd..a318f933fe 100644 --- a/unpublishedScripts/marketplace/spectator-camera/spectatorCamera.js +++ b/unpublishedScripts/marketplace/spectator-camera/spectatorCamera.js @@ -344,9 +344,9 @@ function registerButtonMappings() { var VRDevices = Controller.getDeviceNames().toString(); if (VRDevices) { - if (VRDevices.indexOf("Vive") != -1) { + if (VRDevices.indexOf("Vive") !== -1) { controllerType = "Vive"; - } else if (VRDevices.indexOf("OculusTouch") != -1) { + } else if (VRDevices.indexOf("OculusTouch") !== -1) { controllerType = "OculusTouch"; } else { sendToQml({ method: 'updateControllerMappingCheckbox', setting: switchViewFromController, controller: controllerType });