Commit 906f293e by Johannes Zellner

Load latest folder on reload

1 parent 767595d9
Showing with 5 additions and 1 deletions
...@@ -344,7 +344,11 @@ var app = new Vue({ ...@@ -344,7 +344,11 @@ var app = new Vue({
window.app = app; window.app = app;
getProfile(localStorage.accessToken); getProfile(localStorage.accessToken, function (error) {
if (error) return console.error(error);
loadDirectory(window.location.hash.slice(1));
});
$(window).on('hashchange', function () { $(window).on('hashchange', function () {
loadDirectory(window.location.hash.slice(1)); loadDirectory(window.location.hash.slice(1));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!