diff options
-rw-r--r-- | frontend/js/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/js/app.js b/frontend/js/app.js index 0a6ada1..7a80ba7 100644 --- a/frontend/js/app.js +++ b/frontend/js/app.js | |||
@@ -288,7 +288,7 @@ var app = new Vue({ | |||
288 | getProfile(result.body.accessToken, function (error) { | 288 | getProfile(result.body.accessToken, function (error) { |
289 | if (error) return console.error(error); | 289 | if (error) return console.error(error); |
290 | 290 | ||
291 | loadDirectory(window.location.hash.slice(1)); | 291 | loadDirectory(decode(window.location.hash.slice(1))); |
292 | }); | 292 | }); |
293 | }); | 293 | }); |
294 | }, | 294 | }, |
@@ -428,11 +428,11 @@ var app = new Vue({ | |||
428 | getProfile(localStorage.accessToken, function (error) { | 428 | getProfile(localStorage.accessToken, function (error) { |
429 | if (error) return console.error(error); | 429 | if (error) return console.error(error); |
430 | 430 | ||
431 | loadDirectory(window.location.hash.slice(1)); | 431 | loadDirectory(decode(window.location.hash.slice(1))); |
432 | }); | 432 | }); |
433 | 433 | ||
434 | $(window).on('hashchange', function () { | 434 | $(window).on('hashchange', function () { |
435 | loadDirectory(window.location.hash.slice(1)); | 435 | loadDirectory(decode(window.location.hash.slice(1))); |
436 | }); | 436 | }); |
437 | 437 | ||
438 | })(); | 438 | })(); |