Open Wlada opened 11 years ago
Hi, I've fixed it by modifying the jquery.rs.carousel-touch.js Line 254 you'll find
if ((this.index === this.getNoOfPages() - 1 && direction === 'next') || (this.index === 0 && direction === 'prev')) { this.goToPage(this.index); } else { this[direction](); }
Just add a test for the continuous option like that
if(this.options.continuous){ this[direction](); }else{ if ((this.index === this.getNoOfPages() - 1 && direction === 'next') || (this.index === 0 && direction === 'prev')) { this.goToPage(this.index); } else { this[direction](); } }
I just made a PR https://github.com/richardscarrott/jquery-ui-carousel/pull/73
Continuous not working with the touch enable. It works like loop , not like continuous.
Any suggestions how to fix this?