DmitrMakeev
commited on
Commit
•
486912c
1
Parent(s):
fced211
Update settings.html
Browse files- settings.html +3 -3
settings.html
CHANGED
@@ -163,10 +163,10 @@ input[type="number"] {
|
|
163 |
</script>
|
164 |
|
165 |
<script>
|
166 |
-
document.getElementById("
|
167 |
-
var
|
168 |
var xhr = new XMLHttpRequest();
|
169 |
-
xhr.open("GET", "/EC_set?value=" +
|
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>
|