Просмотр исходного кода

max80.js: fix bitrot in the still-unused load() function

H. Peter Anvin 3 лет назад
Родитель
Сommit
4a79fc7585
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      esp32/www/com/max80.js

+ 1 - 1
esp32/www/com/max80.js

@@ -101,7 +101,7 @@ function fillin(map,html)
 function load(url,html)
 {
     fetchconfig(url)
-	.then(map => { initdata(map,map) })
+	.then(map => { fillin(map,html) })
 	.catch(() => {});
 }