File tree Expand file tree Collapse file tree 2 files changed +29
-2
lines changed
Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "name" : " jquery-sortable" ,
3+ "version" : " 0.9.12" ,
4+ "homepage" : " http://johnny.github.io/jquery-sortable/" ,
5+ "authors" : [
6+ " Jonas von Andrian"
7+ ],
8+ "main" : " source/js/jquery-sortable.js" ,
9+ "moduleType" : [
10+ " globals"
11+ ],
12+ "keywords" : [
13+ " sortable" ,
14+ " sort" ,
15+ " sorting" ,
16+ " drag" ,
17+ " dragging"
18+ ],
19+ "license" : " MIT" ,
20+ "ignore" : [
21+ " **/.*" ,
22+ " node_modules" ,
23+ " bower_components" ,
24+ " test" ,
25+ " tests"
26+ ]
27+ }
Original file line number Diff line number Diff line change 104104 $ ( "body" ) . removeClass ( container . group . options . bodyClass )
105105 } ,
106106 // Called on mousedown. If falsy value is returned, the dragging will not start.
107- // If clicked on input element, ignore
107+ // Ignore if element clicked is input, select or textarea
108108 onMousedown : function ( $item , _super , event ) {
109- if ( ! event . target . nodeName . match ( / ^ ( i n p u t | s e l e c t ) $ / i) ) {
109+ if ( ! event . target . nodeName . match ( / ^ ( i n p u t | s e l e c t | t e x t a r e a ) $ / i) ) {
110110 event . preventDefault ( )
111111 return true
112112 }
You can’t perform that action at this time.
0 commit comments