Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
c0d4f7f
1
Parent(s):
68fb27d
Update settings.html
Browse files- settings.html +1 -1
settings.html
CHANGED
@@ -171,7 +171,7 @@ input[type="number"] {
|
|
171 |
</script>
|
172 |
|
173 |
<script>
|
174 |
-
document.getElementById("
|
175 |
var ecValue = document.getElementById("ec_set").value;
|
176 |
var xhr = new XMLHttpRequest();
|
177 |
xhr.open("GET", "/EC_set?value=" + ecValue, true);
|
|
|
171 |
</script>
|
172 |
|
173 |
<script>
|
174 |
+
document.getElementById("ec_set_but").addEventListener("click", function() {
|
175 |
var ecValue = document.getElementById("ec_set").value;
|
176 |
var xhr = new XMLHttpRequest();
|
177 |
xhr.open("GET", "/EC_set?value=" + ecValue, true);
|