1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-08-11 20:14:36 +02:00

fix: remove useless code for fixing hrefs

That fix seems to be needed to bypass an Apache bug and now became useless.
This commit is contained in:
Andrey V. Novikov
2023-02-03 00:25:57 +03:00
committed by oupala
parent b76dc3be4a
commit b7d7d2aeb8

View File

@@ -99,11 +99,3 @@ arr.forEach(function(value){
cont++;
});
document.getElementById("breadcrumb").innerHTML = bread;
if (uri.substring(uri.length-1) != '/'){
var indexes = document.getElementsByClassName('indexcolname'),
i = indexes.length;
while (i--){
var a = indexes[i].getElementsByTagName('a')[0];
a.href = uri + '/' + a.getAttribute('href',2);
}
}