We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd541dc commit c386d87Copy full SHA for c386d87
source/js/jquery-sortable.js
@@ -119,20 +119,11 @@
119
tolerance: 0
120
}, // end group defaults
121
containerGroups = {},
122
- groupCounter = 0
123
-
124
- if('ontouchstart' in window){
125
- eventNames = {
126
- start: "touchstart.sortable",
127
- end: "touchend.sortable touchcancel.sortable",
128
- move: "touchmove.sortable"
129
- }
130
- } else {
131
132
- start: "mousedown.sortable",
133
- end: "mouseup.sortable",
134
- move: "mousemove.sortable"
135
+ groupCounter = 0,
+ eventNames = {
+ start: "touchstart.sortable mousedown.sortable",
+ end: "touchend.sortable touchcancel.sortable mouseup.sortable",
+ move: "touchmove.sortable mousemove.sortable"
136
}
137
138
/*
0 commit comments