mirror of
https://github.com/oupala/apaxy.git
synced 2025-08-12 09:05:01 +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:
committed by
oupala
parent
b76dc3be4a
commit
b7d7d2aeb8
@@ -99,11 +99,3 @@ arr.forEach(function(value){
|
|||||||
cont++;
|
cont++;
|
||||||
});
|
});
|
||||||
document.getElementById("breadcrumb").innerHTML = bread;
|
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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user