Permalink
Browse files

If clicked on select element, ignore

Added ignore for select form element
  • Loading branch information...
1 parent 828d4c1 commit 4909b48241b6c20f4cdef584fe91ee9b1a603d4c @abixalmon abixalmon committed Mar 9, 2014
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 4909b48

Please sign in to comment.