diff --git a/jquery.datetimepicker.js b/jquery.datetimepicker.js index 3bced0e..6220224 100644 --- a/jquery.datetimepicker.js +++ b/jquery.datetimepicker.js @@ -363,7 +363,7 @@ options.prev = 'xdsoft_next'; } - if( options.timepicker ) + if( options.datepicker ) datepicker.addClass('active'); else datepicker.removeClass('active');