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

Back Link not working in IE11 #27

Open
rymill2 opened this issue Nov 19, 2019 · 1 comment
Open

Back Link not working in IE11 #27

rymill2 opened this issue Nov 19, 2019 · 1 comment

Comments

@rymill2
Copy link

rymill2 commented Nov 19, 2019

As the title suggests, I am not able to get the back link to slide the menu back to its previous state in IE11. The slide forward works, however.

@yliu2015
Copy link

yliu2015 commented Dec 2, 2019

I had the same issue in IE 11 and found out that this line of code causes the issue: in the slide-menu-ie.js, function "initSubmenus", s.classList.add(t.CLASS_NAMES.backlink, t.CLASS_NAMES.control). In IE 11, the add() only add one class to the class list so the t.CLASS_NAME.control didn't get added to the element. This is the only code that tries to add more than one classname to the element in the slide-menu-ie.js file. Change it to two separated code: s.classList.add(t.CLASS_NAMES.backlink), s.classList.add(t.CLASS_NAMES.control). That fixed my issue in IE 11. Hope this helps others who has the same issue.

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

No branches or pull requests

2 participants