Lines 70-76
Link Here
|
70 |
if( $(instance.input).hasClass("pastdate") ){ |
70 |
if( $(instance.input).hasClass("pastdate") ){ |
71 |
instance.set("maxDate", new Date().fp_incr(-1)); |
71 |
instance.set("maxDate", new Date().fp_incr(-1)); |
72 |
} |
72 |
} |
73 |
$(instance.input).siblings('input.flatpickr') |
73 |
$(instance.input).find('~input.flatpickr:first') |
74 |
/* Add a wrapper element so that we can prevent the clear button from wrapping */ |
74 |
/* Add a wrapper element so that we can prevent the clear button from wrapping */ |
75 |
.wrap("<span class='flatpickr_wrapper'></span>") |
75 |
.wrap("<span class='flatpickr_wrapper'></span>") |
76 |
.after( $("<a/>") |
76 |
.after( $("<a/>") |
77 |
- |
|
|