改动 swipe.js
transitionEnd: function(event) {
if (parseInt(event.target.getAttribute(‘data-index‘), 10) == index) {
//if (delay) begin();
stop();
options.transitionEnd && options.transitionEnd.call(event, index, slides[index]);
delay=options.auto || 0;
begin();
}
}
时间: 2024-10-09 21:03:32