From 8fe59d715ffc4a7a22b18839892509bfc3e01c9d Mon Sep 17 00:00:00 2001 From: Web Advanced Date: Thu, 13 Feb 2014 08:55:43 -0800 Subject: [PATCH] Updated setOptions to toggle timepicker and datepicker --- jquery.datetimepicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');