fredleblanc / roundabout

A 3D Turntable jQuery Plugin.
645 stars 203 forks source link

retain autoplayPauseOnHover during btnStopAutoplay click and changeAutoplayDuration #94

Closed floydpink closed 11 years ago

floydpink commented 11 years ago

We were losing the autoplayPauseOnHover behavior if a selector was supplied for btnStopAutoplay or if changeAutoplayDuration method was called.

This change should help retain those.

floydpink commented 11 years ago

Thanks for the wonderful plugin.

The fix I have mentioned above (along with the issue itself) could be seen in action here - http://jsfiddle.net/FloydPink/6uTJV/

floydpink commented 11 years ago

Please do not pull this. I was in a hurry to fix this, that I did not notice this adds an unnecessary side effect. Which is: even when playing is stopped using btnStopAutoplay click, a hoverin and hoverout would start autoplaying !