From 1b7e358a36a47e4072d058dfc62c854aeb925bbd Mon Sep 17 00:00:00 2001 From: danbulant Date: Sun, 23 Jun 2019 13:06:07 +0200 Subject: [PATCH] Hide filesystem on non-node environments --- html/node.js | 1 + 1 file changed, 1 insertion(+) diff --git a/html/node.js b/html/node.js index 5f8cc17..8465b62 100644 --- a/html/node.js +++ b/html/node.js @@ -27,4 +27,5 @@ if(typeof require != undefined){ ipcRenderer.send('listFiles', 'C:\\Users\\Dan\\Documents\\GitHub\\console-hub'); } else { //no NODE integration, propably browser access + $("div:has(#files)").hide();//Disable file system view }