Permalink
Browse files

Merge pull request #75 from abixalmon/master

If clicked on select element, ignore
  • Loading branch information...
johnny committed Mar 9, 2014
2 parents 828d4c1 + 4909b48 commit 271cd2c742439842000e6f92d4dae96bb8dcd595
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/js/jquery-sortable.js
@@ -101,7 +101,7 @@
// Called on mousedown. If falsy value is returned, the dragging will not start.
// If clicked on input element, ignore
onMousedown: function ($item, _super, event) {
- if (event.target.nodeName != 'INPUT') {
+ if (event.target.nodeName != 'INPUT' && event.target.nodeName != 'SELECT') {
event.preventDefault()
return true
}

0 comments on commit 271cd2c

Please sign in to comment.