Skip to content

Commit 8e87bd1

Browse files
vsn4ikacrobat
authored andcommitted
Move showOnFocus and zIndexOffset to dp.defauts
1 parent c9ac9f8 commit 8e87bd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/bootstrap-datepicker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,6 @@
318318
} else {
319319
o.defaultViewDate = UTCToday();
320320
}
321-
o.showOnFocus = o.showOnFocus !== undefined ? o.showOnFocus : true;
322-
o.zIndexOffset = o.zIndexOffset !== undefined ? o.zIndexOffset : 10;
323321
},
324322
_events: [],
325323
_secondaryEvents: [],
@@ -1662,6 +1660,8 @@
16621660
weekStart: 0,
16631661
disableTouchKeyboard: false,
16641662
enableOnReadonly: true,
1663+
showOnFocus: true,
1664+
zIndexOffset: 10,
16651665
container: 'body',
16661666
immediateUpdates: false,
16671667
title: ''

0 commit comments

Comments
 (0)