Browse Source

another substring

gcmalloc 5 years ago
parent
commit
cd67ccf514
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.js

+ 1 - 1
main.js

@@ -163,7 +163,7 @@ function changeBreathSpeed(){
 function setTheBreathSpeed() {
     $.ajax(url_led, {
         type: 'POST',
-        data: {breathe: slider.val().substring(0, -3)},
+        data: {breathe: slider.val()},
     });
 }