贫民窟里的程序高手

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
startDrag: function(ev) {
    if(ev.originalEvent.initEvent){
        return;
    }
    if (!this.isListening) { // startDrag must have manually initiated
        this.startListening();
    }

    if (!this.isDragging) {
        this.isDragging = true;
        this.dragStart(ev);
    }
}

修改上面的js,增加第一个if判断。

posted on 2016-10-31 16:15  贫民窟里的程序高手  阅读(457)  评论(0)    收藏  举报