javascript - If child has an active class, add class to before anchor ...

javascript - If child has an active class, add class to before anchor ...

More to explore

Based on this image's title: “javascript - If child has an active class, add class to before anchor ...