From a7dee4bb8ab936fb8651da2bbf36bfd7c9c30e6a Mon Sep 17 00:00:00 2001 From: SilverfishVR <53531160+SilverfishVR@users.noreply.github.com> Date: Sat, 21 Aug 2021 17:54:10 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: David Rowe --- scripts/system/bubble.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/system/bubble.js b/scripts/system/bubble.js index 0c019f4e4b..260bbaa4bf 100644 --- a/scripts/system/bubble.js +++ b/scripts/system/bubble.js @@ -58,8 +58,8 @@ AvatarInputs.showBubbleToolsChanged.connect(showBubbleToolsChanged); function onToggleHudShieldButton(menuItem) { - if (menuItem == menuItemName) { - AvatarInputs.setShowBubbleTools(Menu.isOptionChecked(menuItem)) + if (menuItem === menuItemName) { + AvatarInputs.setShowBubbleTools(Menu.isOptionChecked(menuItem)); }; }