Fix sandboxing(#1)

This commit is contained in:
2019-05-24 11:04:51 +05:30
parent 5e41f1ceb0
commit 41534493b7
4 changed files with 9 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ function updateContents(contents){
//console.log(contents)
// Change top header contents
$('#files-location').html(currDir.loc)
$('#files-location').html(contents.loc)
// if empty, return null, this shouldnt execute if the server is responding properly but ok
if(contents===null) {