Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/799 tidy up #818

Merged
merged 3 commits into from
Aug 27, 2020
Merged

Bugfix/799 tidy up #818

merged 3 commits into from
Aug 27, 2020

Conversation

lloback
Copy link
Contributor

@lloback lloback commented Aug 27, 2020

This is a generic fix for the left nav.
We can use this to tidy up the code below on this function isActive(page){ because this potentially may work for any left-nav item that we want highlighted.

-  Side navigation should indicate (highlight) when user is viewing Qualifying Tests pages
-  Side navigation should indicate (highlight) when user is viewing Qualifying Tests pages
Copy link
Member

@warrensearle warrensearle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naughty but nice 👍

@lloback lloback merged commit f2c7be5 into develop Aug 27, 2020
@lloback
Copy link
Contributor Author

lloback commented Aug 27, 2020

Naughty but nice 👍

I Agree. It is naughty, but it is simpler than split then split again, then length, then toLowerCase, etc, etc

@warrensearle warrensearle deleted the bugfix/799-tidy-up branch September 10, 2020 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants