swipe滚动失效

改动 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();
}

}

posted on 2015-07-08 17:41  丫a 头  阅读(457)  评论(0)    收藏  举报