From 045e1adfa31e5df5e7dcd43e684f20d3d25bcdcb Mon Sep 17 00:00:00 2001 From: LAX18 Development Date: Mon, 4 Jan 2021 21:44:01 -0500 Subject: [PATCH] Big oof --- js/script2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/script2.js b/js/script2.js index c03eef5..022f5d3 100644 --- a/js/script2.js +++ b/js/script2.js @@ -150,7 +150,7 @@ function setBrightness(direction) { } } if (direction === "down") { - if (brightness - 5 <= 15) { + if (brightness - 5 >= 15) { brightness = brighness - 5 var xhr = new XMLHttpRequest(); xhr.open("POST", "http://127.0.0.1:5000/brightness", true);