* fix javascript issues #1480
This commit is contained in:
lumapu 2024-03-06 00:02:11 +01:00
parent e5c0e8e996
commit 7b030a39d5
6 changed files with 21 additions and 13 deletions

View file

@ -84,10 +84,12 @@ function topnav() {
}
function parseNav(obj) {
for(i = 0; i < 13; i++) {
for(i = 0; i < 14; i++) {
if(i == 2)
continue;
var l = document.getElementById("nav"+i);
if(null == l)
continue
if(12 == i) {
if(obj.cst_lnk.length > 0) {
l.href = obj.cst_lnk