From 9aae3fcc384891f4bb86211afc25302b777ca616 Mon Sep 17 00:00:00 2001 From: danbulant Date: Sun, 23 Jun 2019 15:08:05 +0200 Subject: [PATCH] fix case --- html/filesystem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/filesystem.js b/html/filesystem.js index cb246a1..6cb039b 100644 --- a/html/filesystem.js +++ b/html/filesystem.js @@ -4,7 +4,7 @@ function refreshFiles(){ return; } var shown = []; - files.foreach((item, index) => { + files.forEach((item, index) => { shown[index] = document.createElement('li'); $("#files-list").append(shown[index]); shown[index].id = "file-" + index;