We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83a9724 commit 2bec9f7Copy full SHA for 2bec9f7
js/main.js
@@ -52,7 +52,9 @@ function init(){
52
path = path + "/";
53
}
54
chroot = path;
55
-
+ if (0 != window.location.hash.length){
56
+ path += window.location.hash.slice(2)
57
+ }
58
display(path);
59
},
60
dataType:"json"
@@ -91,6 +93,7 @@ function display(path){
91
93
{
92
94
path = "/";
95
96
+ window.location = "#" + path.slice(chroot.length-1);
97
98
}.bind(path)
99
);
@@ -117,6 +120,7 @@ function display(path){
117
120
if (this.subFolder && this.subFolder.hasOwnProperty("index.html")){
118
121
window.open(this.subFolder["index.html"].url);
119
122
}else{
123
124
125
126
}.bind(element, element_path);
0 commit comments