From 3b1f058b4667314da7586748d88cd88086966e48 Mon Sep 17 00:00:00 2001 From: Daksh Doshi Date: Wed, 3 Feb 2021 19:10:30 +0530 Subject: [PATCH] Fixed Linting errors --- js/widgets/temperament.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/js/widgets/temperament.js b/js/widgets/temperament.js index 765bf3e7d0..5d814722b1 100644 --- a/js/widgets/temperament.js +++ b/js/widgets/temperament.js @@ -865,25 +865,25 @@ class TemperamentWidget { for(let i = 0;i<4;i++){ menuItems[i].onmouseover = () => { menuItems[i].style.backgroundColor = "#7bb5ee"; - } + }; } for(let i = 0;i<4;i++){ menuItems[i].onmouseout = () => { - if((i==0 && this.editMode!="equal") + if((i==0 && this.editMode!="equal") || (i==1 && this.editMode!="ratio") - || (i==2 && this.editMode!="arbitrary") + || (i==2 && this.editMode!="arbitrary") || (i==3 && this.editMode!="octave")){ menuItems[i].style.backgroundColor = "#8cc6ff"; } - } + }; } for(let i = 0;i<4;i++){ menuItems[i].onclick = () => { for(let j = 0;j<4;j++){ if(i!=j){ - menuItems[j].style.background = platformColor.selectorBackground; + menuItems[j].style.background = platformColor.selectorBackground; } else{ menuItems[i].style.background = "#FFFFFF"; @@ -901,7 +901,7 @@ class TemperamentWidget { else{ this.octaveSpaceEdit(); } - } + }; } }