Update online.html
Browse files- online.html +9 -4
online.html
CHANGED
|
@@ -344,9 +344,17 @@
|
|
| 344 |
</script>
|
| 345 |
|
| 346 |
|
|
|
|
|
|
|
|
|
|
| 347 |
<script>
|
| 348 |
document.getElementById("st_graf").addEventListener("click", function() {
|
| 349 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 350 |
});
|
| 351 |
</script>
|
| 352 |
|
|
@@ -358,9 +366,6 @@
|
|
| 358 |
|
| 359 |
|
| 360 |
|
| 361 |
-
|
| 362 |
-
|
| 363 |
-
|
| 364 |
|
| 365 |
<script>
|
| 366 |
function updateValues(data) {
|
|
|
|
| 344 |
</script>
|
| 345 |
|
| 346 |
|
| 347 |
+
|
| 348 |
+
|
| 349 |
+
|
| 350 |
<script>
|
| 351 |
document.getElementById("st_graf").addEventListener("click", function() {
|
| 352 |
+
// Получаем основной URL без пути и параметров
|
| 353 |
+
var baseUrl = window.location.origin;
|
| 354 |
+
// Добавляем необходимый путь к основному URL
|
| 355 |
+
var targetUrl = baseUrl + "/settings";
|
| 356 |
+
// Переходим по сформированному URL
|
| 357 |
+
window.location.href = targetUrl;
|
| 358 |
});
|
| 359 |
</script>
|
| 360 |
|
|
|
|
| 366 |
|
| 367 |
|
| 368 |
|
|
|
|
|
|
|
|
|
|
| 369 |
|
| 370 |
<script>
|
| 371 |
function updateValues(data) {
|