Skip to content
Snippets Groups Projects
Commit 2e358bf1 authored by Shraddha Raghuram's avatar Shraddha Raghuram
Browse files

small fix

parent b96466d3
No related branches found
No related tags found
No related merge requests found
Pipeline #406343 passed
......@@ -136,7 +136,7 @@
let navbar = document.getElementById("my-navbar");
let items = navbar.children;
function over(el){
for (i = 0; i < 7; i++){
for (i = 0; i < 4; i++){
items[i].children[0].style.color = "#185A4F";
}
el.children[0].style.color = "#62D881";
......@@ -160,7 +160,7 @@
}
}
function leave(el){
for (i = 0; i < 7; i++){
for (i = 0; i < 4; i++){
items[i].children[0].style.color = "#185A4F";
}
if (el.children.length > 1){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment