aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--frontend/js/app.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/js/app.js b/frontend/js/app.js
index de61dcf..befed24 100644
--- a/frontend/js/app.js
+++ b/frontend/js/app.js
@@ -344,7 +344,11 @@ var app = new Vue({
344 344
345window.app = app; 345window.app = app;
346 346
347getProfile(localStorage.accessToken); 347getProfile(localStorage.accessToken, function (error) {
348 if (error) return console.error(error);
349
350 loadDirectory(window.location.hash.slice(1));
351});
348 352
349$(window).on('hashchange', function () { 353$(window).on('hashchange', function () {
350 loadDirectory(window.location.hash.slice(1)); 354 loadDirectory(window.location.hash.slice(1));