Skip to content

Commit

Permalink
Update nav.js
Browse files Browse the repository at this point in the history
  • Loading branch information
harrymkt committed Apr 2, 2024
1 parent e64509c commit ef46ca5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ document.body.appendChild(fulldateElement);
document.body.appendChild(greetingsElement);
displaytime();
setInterval(displaytime, 1000);
document.getElementById("ownername").textContent=ownername;
// Create nav element with id "navigation" and ARIA attributes
var navigationElement = document.createElement("nav");
navigationElement.id = "navigation";
Expand Down Expand Up @@ -157,4 +156,5 @@ dt += "Good afternoon "+get_storage("visitname","visiter")+", thank you for visi
else
dt += "Good evening "+get_storage("visitname","visiter")+", have a nice day!";
document.getElementById("greetings").textContent = dt;
}
}
document.getElementById("ownername").textContent=ownername;

0 comments on commit ef46ca5

Please sign in to comment.