File tree 2 files changed +5
-2
lines changed 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,8 @@ <h2>Demonstrations</h2>
219
219
Use future date shortcuts: < input id ="date-range101 " size ="60 " value ="">
220
220
< a href ="# " class ="show-option "> Show Config</ a >
221
221
< pre class ="options ">
222
- {
222
+ {
223
+ showShortcuts: true,
223
224
shortcuts :
224
225
{
225
226
'next-days': [3,5,7],
@@ -233,6 +234,7 @@ <h2>Demonstrations</h2>
233
234
< a href ="# " class ="show-option "> Show Config</ a >
234
235
< pre class ="options ">
235
236
{
237
+ showShortcuts: true,
236
238
shortcuts :
237
239
{
238
240
'prev-days': [3,5,7],
@@ -248,6 +250,7 @@ <h2>Demonstrations</h2>
248
250
< a href ="# " class ="show-option "> Show Config</ a >
249
251
< pre class ="options ">
250
252
{
253
+ showShortcuts: true,
251
254
shortcuts : null,
252
255
startOfWeek: 'sunday',
253
256
language:'en',
Original file line number Diff line number Diff line change 625
625
626
626
function IsOwnDatePickerClicked ( evt , selfObj )
627
627
{
628
- return ( evt . target == selfObj || ( selfObj . childNodes != undefined && $ . inArray ( evt . target , selfObj . childNodes ) >= 0 ) )
628
+ return ( selfObj . contains ( evt . target ) || evt . target == selfObj || ( selfObj . childNodes != undefined && $ . inArray ( evt . target , selfObj . childNodes ) >= 0 ) )
629
629
}
630
630
631
631
function init_datepicker ( )
You can’t perform that action at this time.
0 commit comments