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() {