// Add toggle to datepicker button

This commit is contained in:
Jerome Nadaud
2013-11-14 16:05:58 +01:00
parent 4a46960112
commit 051ed32133
+7 -2
View File
@@ -378,8 +378,13 @@ $( document ).ready(function() {
}
$('#datepickerExpand').on('click',function() {
$('#datepicker').removeClass('hide');
$('#date-start').focus();
if ($('#datepicker').hasClass('hide'))
{
$('#datepicker').removeClass('hide');
$('#date-start').focus();
}
else
$('#datepicker').addClass('hide');
});
$('.submitDateDay').on('click',function(e){