|
Lines 148-154
Link Here
|
| 148 |
disable_buttons.push(2); /* Tomorrow */ |
148 |
disable_buttons.push(2); /* Tomorrow */ |
| 149 |
} |
149 |
} |
| 150 |
if( $(this).data("flatpickr-pastdate") === true ) { |
150 |
if( $(this).data("flatpickr-pastdate") === true ) { |
| 151 |
options['maxDate'] = new Date().fp_incr(-1); |
151 |
options['maxDate'] = new Date().fp_incr(-1).setHours(23, 59, 00, 00); |
| 152 |
disable_buttons.push(1); /* Today */ |
152 |
disable_buttons.push(1); /* Today */ |
| 153 |
disable_buttons.push(2); /* Tomorrow */ |
153 |
disable_buttons.push(2); /* Tomorrow */ |
| 154 |
} |
154 |
} |
| 155 |
- |
|
|