Updated setOptions to toggle timepicker and datepicker

This commit is contained in:
Web Advanced 2014-02-13 08:55:43 -08:00
parent f894a39be5
commit 8fe59d715f

View File

@ -363,7 +363,7 @@
options.prev = 'xdsoft_next'; options.prev = 'xdsoft_next';
} }
if( options.timepicker ) if( options.datepicker )
datepicker.addClass('active'); datepicker.addClass('active');
else else
datepicker.removeClass('active'); datepicker.removeClass('active');