Исправил ошибку вставки кода в итоговый файл
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ function setNumber(item) {
|
|||||||
function saveResult() {
|
function saveResult() {
|
||||||
let navigate_waites = ''
|
let navigate_waites = ''
|
||||||
for (const item of listOfTrips.value) {
|
for (const item of listOfTrips.value) {
|
||||||
navigate_waites += `navigate_wait(${item.x}, ${item.y})\n\t`;
|
navigate_waites += `\tnavigate_wait(${item.x}, ${item.y})\n`;
|
||||||
}
|
}
|
||||||
fetch('/shablons/emergency_and_navigate.txt')
|
fetch('/shablons/emergency_and_navigate.txt')
|
||||||
.then(response => response.text())
|
.then(response => response.text())
|
||||||
|
|||||||
Reference in New Issue
Block a user