This commit is contained in:
LAX18 Development
2021-01-04 21:44:01 -05:00
parent 614c9a59e4
commit 045e1adfa3
+1 -1
View File
@@ -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);