X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fjs%2Fapp.js;fp=app%2Fjs%2Fapp.js;h=b71a7ede02438cd6d946d75bc1c1ef508bc3888b;hb=ee9d1ada964d9e9ce7d9c020ab105aa7ded8147e;hp=10a489cce59e89af843379a2f5ffbb5ef0034c89;hpb=d3312ed1aace3c72570f60be56d846fb9ecbc584;p=perso%2FImmae%2FProjets%2FNodejs%2FSurfer.git diff --git a/app/js/app.js b/app/js/app.js index 10a489c..b71a7ed 100644 --- a/app/js/app.js +++ b/app/js/app.js @@ -55,7 +55,6 @@ function loadDirectory(filePath) { app.entries = result.body.entries; app.path = filePath; app.pathParts = filePath.split('/').filter(function (e) { return !!e; }); - console.log(app.pathParts) }); } @@ -64,7 +63,7 @@ function open(entry) { if (entry.isDirectory) return loadDirectory(path); - window.location.href = window.location.origin + path; + window.open(path); } function up() {