提交 645a7d06 编写于 作者: P p-herbert

(fix) Bind context directly to function

上级 39b5c3b4
......@@ -467,7 +467,7 @@
_on(ownerDocument, 'touchmove', _this._delayedDragTouchMoveHandler);
options.supportPointer && _on(ownerDocument, 'pointermove', _this._delayedDragTouchMoveHandler);
_this._dragStartTimer = setTimeout(dragStartFn, options.delay).bind(_this);
_this._dragStartTimer = setTimeout(dragStartFn.bind(_this), options.delay);
} else {
dragStartFn();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册