DmitrMakeev commited on
Commit
486912c
1 Parent(s): fced211

Update settings.html

Browse files
Files changed (1) hide show
  1. settings.html +3 -3
settings.html CHANGED
@@ -163,10 +163,10 @@ input[type="number"] {
163
  </script>
164
 
165
  <script>
166
- document.getElementById("EC_set_but").addEventListener("click", function() {
167
- var pHValue = document.getElementById("EC_set").value;
168
  var xhr = new XMLHttpRequest();
169
- xhr.open("GET", "/EC_set?value=" + pHValue, true);
170
  xhr.send();
171
  });
172
  </script>
 
163
  </script>
164
 
165
  <script>
166
+ document.getElementById("ed_set_but").addEventListener("click", function() {
167
+ var ecValue = document.getElementById("ec_set").value;
168
  var xhr = new XMLHttpRequest();
169
+ xhr.open("GET", "/EC_set?value=" + ecValue, true);
170
  xhr.send();
171
  });
172
  </script>