diff --git a/home.html b/home.html index 83e13e4..76a44a1 100644 --- a/home.html +++ b/home.html @@ -1361,9 +1361,7 @@ function LineInputSlider(number) { - if (number == lineinputValue) { - return - } + let element = $('#lineinput') let input = $("#lineinput .volume-slider input") let value = (parseInt(number) + 72) / (84 / 100) @@ -1411,9 +1409,7 @@ } function Microphone1Slider(number) { - if (number == mic1Value) { - return - } + let element = $("#microphone1") let input = $("#microphone1 .volume-slider input") let value = (parseInt(number) + 10) / (20 / 100) @@ -1459,9 +1455,7 @@ } function Microphone2Slider(number) { - if (number == mic2Value) { - return - } + let element = $('#microphone2') let input = $("#microphone2 .volume-slider input") @@ -1510,9 +1504,7 @@ function OutputVolumeSlider(number) { - if (number == outputValue) { - return - } + let element = $('#outputvolume') let input = $("#outputvolume .volume-slider input")