убираем баги

This commit is contained in:
Dmitry Borisenko
2022-09-11 14:14:16 +02:00
parent 189538741a
commit 5f97fa13e2
4 changed files with 27 additions and 19 deletions

View File

@@ -81,6 +81,7 @@
}
function clearCart() {
collectingDataArray = [];
datachart = {
labels: [0],
datasets: [

View File

@@ -6,9 +6,9 @@
//$: widget.status, calc();
function selectFromMarkerToMarker(str, tofind, number) {
if (str.indexOf(tofind) == -1) {
return "not found";
}
//if (str.indexOf(tofind) == -1) {
// return "not found";
//}
str += tofind;
let i = 0;
do {
@@ -32,7 +32,7 @@
return str.substring(p);
}
let bindValue;
let bindValue = "";
//данная функция вызывается когда в вебе поменяли значение и его нужно отправить в сокеты
//а также периписать в переменной виджета