mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-25 13:09:51 -06:00
just a whole lot of things
This commit is contained in:
@@ -25,3 +25,17 @@ function toggleCheckbox(dir) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function activeSkill(obj) {
|
||||
if (obj.parentElement.classList.contains("activeSkill")) {
|
||||
obj.parentElement.classList.remove("activeSkill");
|
||||
return;
|
||||
}
|
||||
// document.querySelectorAll(".skill").forEach((x) => {
|
||||
// x.classList.remove("activeSkill");
|
||||
// });
|
||||
while (obj.parentElement.classList.contains("skill")) {
|
||||
obj = obj.parentElement;
|
||||
obj.classList.add("activeSkill");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user