DmitrMakeev commited on
Commit
2281f6a
1 Parent(s): aac6ae9

Update settings.html

Browse files
Files changed (1) hide show
  1. settings.html +9 -1
settings.html CHANGED
@@ -292,7 +292,15 @@ input[type="number"] {
292
  });
293
  </script>
294
 
295
-
 
 
 
 
 
 
 
 
296
 
297
 
298
  </body>
 
292
  });
293
  </script>
294
 
295
+ <script>
296
+ document.getElementById("l_OFF_set").addEventListener("click", function() {
297
+ var l_OFF_h_set = document.getElementById("l_OFF_h_set").value;
298
+ var l_OFF_m_set = document.getElementById("l_OFF_m_set").value;
299
+ var xhr = new XMLHttpRequest();
300
+ xhr.open("GET", "/l_OFF_set?l_OFF_h_set=" + l_OFF_h_set + "&l_OFF_m_set=" + l_OFF_m_set, true);
301
+ xhr.send();
302
+ });
303
+ </script>
304
 
305
 
306
  </body>