Skip to content

Commit 271cd2c

Browse files
committed
Merge pull request johnny#75 from abixalmon/master
If clicked on select element, ignore
2 parents 828d4c1 + 4909b48 commit 271cd2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/js/jquery-sortable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
// Called on mousedown. If falsy value is returned, the dragging will not start.
102102
// If clicked on input element, ignore
103103
onMousedown: function ($item, _super, event) {
104-
if (event.target.nodeName != 'INPUT') {
104+
if (event.target.nodeName != 'INPUT' && event.target.nodeName != 'SELECT') {
105105
event.preventDefault()
106106
return true
107107
}

0 commit comments

Comments
 (0)