File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2302
2302
input = element ;
2303
2303
} else {
2304
2304
input = element . find ( options . datepickerInput ) ;
2305
- if ( input . size ( ) === 0 ) {
2305
+ if ( input . length === 0 ) {
2306
2306
input = element . find ( 'input' ) ;
2307
2307
} else if ( ! input . is ( 'input' ) ) {
2308
2308
throw new Error ( 'CSS class "' + options . datepickerInput + '" cannot be applied to non input element' ) ;
2311
2311
2312
2312
if ( element . hasClass ( 'input-group' ) ) {
2313
2313
// in case there is more then one 'input-group-addon' Issue #48
2314
- if ( element . find ( '.datepickerbutton' ) . size ( ) === 0 ) {
2314
+ if ( element . find ( '.datepickerbutton' ) . length === 0 ) {
2315
2315
component = element . find ( '.input-group-addon' ) ;
2316
2316
} else {
2317
2317
component = element . find ( '.datepickerbutton' ) ;
You can’t perform that action at this time.
0 commit comments