mirror of
https://github.com/discourse/discourse.git
synced 2025-04-03 05:39:41 +08:00
improve comment
This commit is contained in:
parent
f1168db1c8
commit
319ea27389
@ -59,7 +59,7 @@ function cancelDrag(e) {
|
|||||||
$('body').removeClass('widget-dragging');
|
$('body').removeClass('widget-dragging');
|
||||||
$(document).off(DRAG_NAME);
|
$(document).off(DRAG_NAME);
|
||||||
|
|
||||||
// We leave the drag event cause touch needs it always bound on iOS
|
// We leave the touchmove event cause touch needs it always bound on iOS
|
||||||
|
|
||||||
if (_dragging) {
|
if (_dragging) {
|
||||||
if (_dragging.dragEnd) { _dragging.dragEnd(e); }
|
if (_dragging.dragEnd) { _dragging.dragEnd(e); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user