mirror of
https://github.com/oupala/apaxy.git
synced 2025-08-11 09:54:02 +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++;
|
||||
});
|
||||
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