Skip to content

Commit

Permalink
feat: add light function call on window load for enhanced user experi…
Browse files Browse the repository at this point in the history
…ence
  • Loading branch information
arjuncvinod committed Dec 6, 2024
1 parent 22840b3 commit def266b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ window.onload = function () {
document.getElementById("main").style.display = "block";
document.getElementById("nav").style.display = "flex";
setTimeout(showHome, 100);
light();
};

function showHome() {
Expand Down

0 comments on commit def266b

Please sign in to comment.