zurb / orbit

454 stars 96 forks source link

orbitWidth not getting set on initialization #66

Open scottsampson opened 13 years ago

scottsampson commented 13 years ago

In my case the orbit.width() was being set to a value greater than the slide width. orbitWidth never gets set with this case causing the animations to fail. I added a way to set orbitWidth no matter if the slide width is greater or not. After writing this it might just be better to set a default in the initialization but you can do that.