|
617 | 617 |
|
618 | 618 | _onTapStart: function (/** Event|TouchEvent */evt) { |
619 | 619 | if (!evt.cancelable) return; |
620 | | - |
621 | 620 | var _this = this, |
622 | 621 | el = this.el, |
623 | 622 | options = this.options, |
|
808 | 807 |
|
809 | 808 | if (options.supportPointer) { |
810 | 809 | _on(ownerDocument, 'pointerup', _this._onDrop); |
811 | | - _on(ownerDocument, 'pointercancel', _this._onDrop); |
812 | 810 | } else { |
813 | 811 | _on(ownerDocument, 'mouseup', _this._onDrop); |
814 | 812 | _on(ownerDocument, 'touchend', _this._onDrop); |
|
1061 | 1059 | _off(document, 'mouseup', _this._onDrop); |
1062 | 1060 | _off(document, 'touchend', _this._onDrop); |
1063 | 1061 | _off(document, 'touchcancel', _this._onDrop); |
1064 | | - _off(document, 'pointercancel', _this._onDrop); |
1065 | 1062 |
|
1066 | 1063 | if (dataTransfer) { |
1067 | 1064 | dataTransfer.effectAllowed = 'move'; |
|
1365 | 1362 | _off(ownerDocument, 'touchend', this._onDrop); |
1366 | 1363 | _off(ownerDocument, 'pointerup', this._onDrop); |
1367 | 1364 | _off(ownerDocument, 'touchcancel', this._onDrop); |
1368 | | - _off(ownerDocument, 'pointercancel', this._onDrop); |
1369 | 1365 | _off(document, 'selectstart', this); |
1370 | 1366 | }, |
1371 | 1367 |
|
1372 | 1368 | _onDrop: function (/**Event*/evt) { |
1373 | 1369 | var el = this.el, |
1374 | 1370 | options = this.options; |
1375 | | - |
1376 | 1371 | awaitingDragStarted = false; |
1377 | 1372 | scrolling = false; |
1378 | 1373 | isCircumstantialInvert = false; |
|
1718 | 1713 |
|
1719 | 1714 | function _globalDragOver(/**Event*/evt) { |
1720 | 1715 | if (evt.dataTransfer) { |
1721 | | - evt.dataTransfer.dropEffect = 'move'; |
| 1716 | + evt.dataTransfer.dropEffect = 'none'; |
1722 | 1717 | } |
1723 | 1718 | evt.cancelable && evt.preventDefault(); |
1724 | 1719 | } |
|
0 commit comments