aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--frontend/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/js/app.js b/frontend/js/app.js
index bf9b534..0875f14 100644
--- a/frontend/js/app.js
+++ b/frontend/js/app.js
@@ -138,7 +138,7 @@ function open(entry) {
138function download(entry) { 138function download(entry) {
139 if (entry.isDirectory) return; 139 if (entry.isDirectory) return;
140 140
141 window.open(encode('/api/files/' + sanitize(app.path + '/' + entry.filePath)) + '?access_token=' + localStorage.accessToken); 141 window.location.href = encode('/api/files/' + sanitize(app.path + '/' + entry.filePath)) + '?access_token=' + localStorage.accessToken;
142} 142}
143 143
144function up() { 144function up() {