mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #176 from akolosov/parentID
Parent element for appending
This commit is contained in:
commit
d1ab2548da
@ -279,6 +279,8 @@
|
||||
next: 'xdsoft_next',
|
||||
prev : 'xdsoft_prev',
|
||||
dayOfWeekStart:0,
|
||||
|
||||
parentID: 'body',
|
||||
|
||||
timeHeightInTimePicker:25,
|
||||
timepickerScrollbar:true,
|
||||
@ -764,7 +766,7 @@
|
||||
.append(mounth_picker)
|
||||
.append(calendar);
|
||||
|
||||
$('body').append(datetimepicker);
|
||||
$(options.parentID).append(datetimepicker);
|
||||
|
||||
var _xdsoft_datetime = new function() {
|
||||
var _this = this;
|
||||
|
Loading…
Reference in New Issue
Block a user