随笔 - 19  文章 - 0  评论 - 1  阅读 - 11045

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   丫a 头  阅读(453)  评论(0编辑  收藏  举报
努力加载评论中...

点击右上角即可分享
微信分享提示