From 8cd31d4b73bc0e7a6bea6c6f5423aa99976eb05b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Z=C3=A1le=C5=A1=C3=A1k?= Date: Fri, 25 Dec 2020 00:35:57 +0100 Subject: [PATCH] fix read file --- js/view.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/view.js b/js/view.js index 9658c8c..13ba13d 100644 --- a/js/view.js +++ b/js/view.js @@ -37,6 +37,7 @@ class View { openFile(fileread) { let textArea = document.getElementsByTagName("textarea")[0]; + textArea.value = fileread; } removeDirTree() {