提交 2f06d97b 编写于 作者: C ChiefORZ

missed some stuff

wasn't merging all necessary stuff. now it should be fully functional
上级 5d6747a9
......@@ -45,6 +45,8 @@
tapEvt,
touchEvt,
moved,
/** @const */
RSPACE = /\s+/g,
......@@ -442,6 +444,8 @@
touchEvt = touch;
moved = true;
_css(ghostEl, 'webkitTransform', translate3d);
_css(ghostEl, 'mozTransform', translate3d);
_css(ghostEl, 'msTransform', translate3d);
......@@ -682,9 +686,10 @@
this._offUpEvents();
if (evt) {
evt.preventDefault();
!options.dropBubble && evt.stopPropagation();
if(moved) {
evt.preventDefault();
!options.dropBubble && evt.stopPropagation();
}
ghostEl && ghostEl.parentNode.removeChild(ghostEl);
if (dragEl) {
......@@ -742,6 +747,8 @@
tapEvt =
touchEvt =
moved =
lastEl =
lastCSS =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册