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

Added a public "skipToMenuInit()" function to redraw the skipTo menu #39

Merged
merged 2 commits into from
Mar 3, 2017
Merged

Added a public "skipToMenuInit()" function to redraw the skipTo menu #39

merged 2 commits into from
Mar 3, 2017

Conversation

dobe0002
Copy link

@dobe0002 dobe0002 commented Jan 5, 2017

Currently if headings, landmarks, etc are added via AJAX or DOM
scripting, these new items are not added to the skipTo menu. As part
of this commit, now a skipToMenuInit() function can be called after DOM
changes to redraw the menu to incorporate the newly added items.

The ordering of the compiled javascript was necessary in order to
insure that the dropMenu function was called properly.

Kim Doberstein (UMN) added 2 commits January 4, 2017 16:33
Currently if headings, landmarks, etc are added via AJAX or DOM
scripting, these new items are not added to the skipTo menu.  As part
of this commit, now a skipToMenuInit() function can be called after DOM
changes to redraw the menu to incorporate the newly added items.

The ordering of the compiled javascript was necessary in order to
insure that the dropMenu function was called properly.
…f the compiled files

The ordering of the complied javascript should be shimIE, dropDownMenu,
skipTo.

While this ordering is correct for the skipto.js file, the ordering was
incorrect for the skipto.min.js file.  This commit fixes that defect.
@mpnkhan mpnkhan merged commit 476b51b into paypal:master Mar 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants