aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/js
diff options
context:
space:
mode:
Diffstat (limited to 'app/js')
-rw-r--r--app/js/app.js3
1 files changed, 1 insertions, 2 deletions
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) {
55 app.entries = result.body.entries; 55 app.entries = result.body.entries;
56 app.path = filePath; 56 app.path = filePath;
57 app.pathParts = filePath.split('/').filter(function (e) { return !!e; }); 57 app.pathParts = filePath.split('/').filter(function (e) { return !!e; });
58 console.log(app.pathParts)
59 }); 58 });
60} 59}
61 60
@@ -64,7 +63,7 @@ function open(entry) {
64 63
65 if (entry.isDirectory) return loadDirectory(path); 64 if (entry.isDirectory) return loadDirectory(path);
66 65
67 window.location.href = window.location.origin + path; 66 window.open(path);
68} 67}
69 68
70function up() { 69function up() {