EpigeneticsExeter / EpigenomicsLabWeb

Pages for Complex Disease Epigenomics Group
https://epigeneticsexeter.github.io/EpigenomicsLabWeb/
2 stars 1 forks source link

[Bug]: console shows errors in subnav management #71

Closed sof202 closed 1 month ago

sof202 commented 1 month ago

What happened?

When you look at the console when triggering the mouse leave event for the subnav bar, you see errors. This is because subNav can be null (for nav bar items that have no subnav bar). We just need to add a check that the subNav bar exists before adding/removing styles.