Commit 906f293e by Johannes Zellner

Load latest folder on reload

parent 767595d9
Showing with 5 additions and 1 deletions
......@@ -344,7 +344,11 @@ var app = new Vue({
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 () {
loadDirectory(window.location.hash.slice(1));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment