The scroll event is missing under Windows when loading page via anchor link (i.e. http://domain.com/page.html#anchor).
If the anchor is far away from page top, the nav header will be in wrong state.
My workaround is to additionally call scrollPage() at init().
The
scrollevent is missing under Windows when loading page via anchor link (i.e. http://domain.com/page.html#anchor).If the anchor is far away from page top, the nav header will be in wrong state.
My workaround is to additionally call
scrollPage()atinit().