Skip to content

Fix "Return to top" within footer examples#1285

Merged
maya merged 1 commit into
stagingfrom
fix-return-to-top
Jun 21, 2016
Merged

Fix "Return to top" within footer examples#1285
maya merged 1 commit into
stagingfrom
fix-return-to-top

Conversation

@rogeruiz

Copy link
Copy Markdown
Contributor

Description

The issue around the "Return to top" examples not working #990 mentions that the intended behavior of those examples are to have the page return to the top. Currently the documentation site has a handleDisabledLinks function which aggressively disables <a> with the href="#" attribute. This patch updates this function to not disable links for return to top links. This allows for the examples to work as expected.

This closes #990.

This patch allows `return to top` links to return to top based on
checking the text content of the element that is clicked. This closes #990.
@maya

maya commented Jun 21, 2016

Copy link
Copy Markdown
Contributor

LGTM!

@maya maya merged commit d039eee into staging Jun 21, 2016
@maya maya deleted the fix-return-to-top branch June 21, 2016 16:14
rogeruiz added a commit that referenced this pull request Aug 4, 2016
This patch reverts the changes made previously here #743 which caused
the following issue and PR, Issue: #990, PR: #1285.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Affects: Documentation Relates to documentation. Should this be in uswds-site?

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants