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

does not collapse on initial page load #43

Closed
clemsontiger opened this issue May 19, 2016 · 3 comments
Closed

does not collapse on initial page load #43

clemsontiger opened this issue May 19, 2016 · 3 comments

Comments

@clemsontiger
Copy link

If my window is sized so that the nav should appear collapsed, upon initial page load it does not collapse it. once I resize the browser it does though. any quick thoughts what could cause this issue?

@clemsontiger
Copy link
Author

It seems to be not firing self.window.on('load.okayNav'); for some reason, though I cannot figure out why not. can you explain how this is supposed to work?

@clemsontiger
Copy link
Author

okay, found out I can call like this: $('#okayNav').okayNav('recalcNav'); to run it. Wish I know why the window.on(load) wasn't firing thoughl)

@clemsontiger
Copy link
Author

okay, i'm closing this out as I think I found my problem. I believe I have something already calling window onload and resize that was conflicting. I'm re-writing to allow multiple calls to it separate so that it runs them all.

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

1 participant