mirror of
https://github.com/danbulant/console-hub
synced 2026-06-24 17:12:05 +00:00
Hide filesystem on non-node environments
This commit is contained in:
parent
8eecf1cf4d
commit
1b7e358a36
1 changed files with 1 additions and 0 deletions
|
|
@ -27,4 +27,5 @@ if(typeof require != undefined){
|
||||||
ipcRenderer.send('listFiles', 'C:\\Users\\Dan\\Documents\\GitHub\\console-hub');
|
ipcRenderer.send('listFiles', 'C:\\Users\\Dan\\Documents\\GitHub\\console-hub');
|
||||||
} else {
|
} else {
|
||||||
//no NODE integration, propably browser access
|
//no NODE integration, propably browser access
|
||||||
|
$("div:has(#files)").hide();//Disable file system view
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue