File tree 3 files changed +23
-3
lines changed
3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -134,9 +134,7 @@ var Drag = this.Drag = new Class({
134
134
} ,
135
135
136
136
start : function ( event ) {
137
- if (
138
- this . options . unDraggableTags . contains ( event . target . get ( 'tag' ) )
139
- ) return ;
137
+ if ( this . options . unDraggableTags . contains ( event . target . get ( 'tag' ) ) ) return ;
140
138
141
139
var options = this . options ;
142
140
Original file line number Diff line number Diff line change
1
+ < style >
2
+ # wrapper {
3
+ background-color : # fff ;
4
+ border : 1px solid # 303030 ;
5
+ float : left;
6
+ top : 500px ;
7
+ width : 30% ;
8
+ height : 100px ;
9
+ }
10
+ </ style >
11
+ < p > You should be able to focus and change th input value after dragging.</ p >
12
+ < div id ='wrapper '>
13
+ < div >
14
+ < input id ='input ' value ='try to focus me '> </ input >
15
+ </ div >
16
+ </ div >
17
+ < script >
18
+ new Drag . Move ( 'wrapper' ) ;
19
+ </ script >
Original file line number Diff line number Diff line change
1
+ js-references :
2
+ - " More/Drag"
3
+ - " More/Drag.Move"
You can’t perform that action at this time.
0 commit comments