Apply suggestions from code review

Co-authored-by: David Rowe <david@ctrlaltstudio.com>
This commit is contained in:
SilverfishVR 2021-08-21 17:54:10 +02:00 committed by GitHub
parent 0cf71bd3e1
commit a7dee4bb8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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