File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 60
60
for ( var i = 0 ; i < length ; i ++ ) {
61
61
var options = $ . extend ( dataOptions [ i ] || { } , jsOptions [ i ] || { } ) ;
62
62
typeof options . start == "undefined" || ( options . start = convertToElement ( options . start ) ) ;
63
- typeof options . start != "undefined" || ( options . start = this ) ;
63
+ typeof options . start != "undefined" || ( options . start = this [ 0 ] ) ;
64
64
typeof options . trigger != "undefined" || ( options . trigger = "100%" ) ;
65
65
optionsArr . push ( options ) ;
66
66
}
190
190
do {
191
191
offset += value [ axis === 'x' ? 'offsetLeft' : 'offsetTop' ] ;
192
192
} while ( value = value . offsetParent ) ;
193
- value = offset ;
193
+ return offset ;
194
194
}
195
195
return value ;
196
196
}
199
199
try {
200
200
return obj instanceof HTMLElement ;
201
201
}
202
- catch ( e ) {
203
- //Browsers not supporting W3 DOM2 don't have HTMLElement and
204
- return ( typeof obj === "object" ) &&
205
- ( obj . nodeType === 1 ) && ( typeof obj . style === "object" ) &&
206
- ( typeof obj . ownerDocument === "object" ) ;
202
+ catch ( e ) {
203
+ return ( typeof obj === "object" ) && ( obj . nodeType === 1 ) &&
204
+ ( typeof obj . style === "object" ) && ( typeof obj . ownerDocument === "object" ) ;
207
205
}
208
206
}
209
207
You can’t perform that action at this time.
0 commit comments