aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/javascripts/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/plugins')
-rw-r--r--app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee12
1 files changed, 10 insertions, 2 deletions
diff --git a/app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee b/app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee
index bfa7c5587..9945022bc 100644
--- a/app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee
+++ b/app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee
@@ -1,8 +1,16 @@
jQuery ->
if(!(Modernizr.inputtypes && Modernizr.inputtypes.time))
- $('input[type="time"]').timepicker(
+ $('.timepicker_basic').timepicker(
template: false,
showInputs: false,
minuteStep: 1,
showMeridian: false,
- ) \ No newline at end of file
+ )
+ $('.timepicker_seconds').timepicker(
+ template: false,
+ showInputs: false,
+ minuteStep: 1,
+ secondStep: 1,
+ showMeridian: false,
+ showSeconds: true
+ ) \ No newline at end of file