ComputerWolf / SlickNav

Responsive Mobile Menu Plugin for jQuery
MIT License
939 stars 314 forks source link

Methods do not work if duplicate = false #131

Closed b4tch closed 8 years ago

b4tch commented 8 years ago

If the duplicate option is set to false, I could not get the 'toggle', 'open', or 'close' methods to work. Turns out I could remove this option without issue to my app, but though I'd give you/everyone a heads up.

ComputerWolf commented 8 years ago

@b4tch This has been hopefully fixed in the latest version. The issue is that IDs were stripped from the menu by default and if you were targeting the menu that way with the open method, it would do nothing. This can be fixed by utilizing a variable after initialization, but in the new version IDs are not removed by default is duplicate is false.