Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

If clicked on select element, ignore

Added ignore for select form element
  • Loading branch information...
commit 4909b48241b6c20f4cdef584fe91ee9b1a603d4c 1 parent 828d4c1
@abixalmon abixalmon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  source/js/jquery-sortable.js
View
2  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
}
Please sign in to comment.
Something went wrong with that request. Please try again.