ComputerWolf / SlickNav

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

init callback fires twice #97

Closed liquidbook closed 9 years ago

liquidbook commented 9 years ago

I am using your init callback to append some buttons to the main container div. My issue is the init fires twice — effectively running the callback function twice. To overcome this issue I am adding a class to test if the function has run. see code below. Maybe you could look at this fire twice issue. Thanks

http://jsfiddle.net/liquidbook/a06j6sh3/ - js only

TraGicCode commented 9 years ago

We are having the same issue :+1: