浏览代码

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

H. Peter Anvin 3 年之前
父节点
当前提交
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)
 function load(url,html)
 {
 {
     fetchconfig(url)
     fetchconfig(url)
-	.then(map => { initdata(map,map) })
+	.then(map => { fillin(map,html) })
 	.catch(() => {});
 	.catch(() => {});
 }
 }