DmitrMakeev
commited on
Commit
•
5aacd71
1
Parent(s):
f0e5848
Update settings.html
Browse files- settings.html +6 -6
settings.html
CHANGED
@@ -284,12 +284,12 @@ input[type="number"] {
|
|
284 |
|
285 |
<script>
|
286 |
document.getElementById("l_ON_set").addEventListener("click", function() {
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
});
|
293 |
</script>
|
294 |
|
295 |
|
|
|
284 |
|
285 |
<script>
|
286 |
document.getElementById("l_ON_set").addEventListener("click", function() {
|
287 |
+
var l_ON_h_set = document.getElementById("l_ON_h_set").value;
|
288 |
+
var l_ON_m_set = document.getElementById("l_ON_m_set").value;
|
289 |
+
var xhr = new XMLHttpRequest();
|
290 |
+
xhr.open("GET", "/l_ON_set?l_ON_h_set=" + l_ON_h_set + "&l_ON_m_set=" + l_ON_m_set, true);
|
291 |
+
xhr.send();
|
292 |
+
});
|
293 |
</script>
|
294 |
|
295 |
|