diff options
Diffstat (limited to 'frontend/js')
-rw-r--r-- | frontend/js/app.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/frontend/js/app.js b/frontend/js/app.js index 1500457..57b831e 100644 --- a/frontend/js/app.js +++ b/frontend/js/app.js | |||
@@ -124,10 +124,6 @@ function open(row, event, column) { | |||
124 | window.open(encode(path)); | 124 | window.open(encode(path)); |
125 | } | 125 | } |
126 | 126 | ||
127 | function up() { | ||
128 | window.location.hash = sanitize(app.path.split('/').slice(0, -1).filter(function (p) { return !!p; }).join('/')); | ||
129 | } | ||
130 | |||
131 | function uploadFiles(files) { | 127 | function uploadFiles(files) { |
132 | if (!files || !files.length) return; | 128 | if (!files || !files.length) return; |
133 | 129 | ||
@@ -328,7 +324,9 @@ var app = new Vue({ | |||
328 | return filesize(cellValue); | 324 | return filesize(cellValue); |
329 | }, | 325 | }, |
330 | loadDirectory: loadDirectory, | 326 | loadDirectory: loadDirectory, |
331 | up: up, | 327 | onUp: function () { |
328 | window.location.hash = sanitize(app.path.split('/').slice(0, -1).filter(function (p) { return !!p; }).join('/')); | ||
329 | }, | ||
332 | open: open, | 330 | open: open, |
333 | drop: drop, | 331 | drop: drop, |
334 | dragOver: dragOver | 332 | dragOver: dragOver |