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

meanMenu jumps #68

Closed
maki3000 opened this issue Oct 17, 2016 · 1 comment
Closed

meanMenu jumps #68

maki3000 opened this issue Oct 17, 2016 · 1 comment

Comments

@maki3000
Copy link

My meanMenu jumps from showing to show the default navigation and back at some stage of browser width. Have a look here: http://meh-ws.ch/div/seiten/neuropaediatrie/de/inhalt/stellen
it's a drupal installation.

i'd be very glad for help!

@maki3000
Copy link
Author

maki3000 commented Nov 1, 2016

i exchanged the way to get the browser width from old version:
currentWidth = document.documentElement.clientWidth || document.body.clientWidth;
to the new version:
currentWidth = window.innerWidth || document.documentElement.clientWidth;

now it seems to work!

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