mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #450 from liebsoer/master
Today button not working anymore
This commit is contained in:
commit
52152ad672
@ -1444,7 +1444,7 @@
|
||||
.find('.xdsoft_today_button')
|
||||
.on('touchend mousedown.xdsoft', function () {
|
||||
datetimepicker.data('changed', true);
|
||||
_xdsoft_datetime.setCurrentTime(0);
|
||||
_xdsoft_datetime.setCurrentTime(0, true);
|
||||
datetimepicker.trigger('afterOpen.xdsoft');
|
||||
}).on('dblclick.xdsoft', function () {
|
||||
var currentDate = _xdsoft_datetime.getCurrentTime(), minDate, maxDate;
|
||||
|
Loading…
Reference in New Issue
Block a user