File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 24
24
dl .defs { margin : 10px 0 10px 40px ; }
25
25
dl .defs dt { font-weight : bold; line-height : 20px ; margin : 10px 0 0 0 ; }
26
26
dl .defs dd { margin : -20px 0 10px 160px ; padding-bottom : 10px ; border-bottom : solid 1px # eee ;}
27
- pre { font-size : 12px ; padding : 0 0 0 10px ; margin : 10px 0 ; border-left : solid 5px # 9EC45F ; overflow : auto; }
27
+ pre { font-size : 12px ; line-height : 16 px ; padding : 5 px 5 px 5 px 10px ; margin : 10px 0 ; background-color : # e4f4d4 ; border-left : solid 5px # 9EC45F ; overflow : auto; }
28
28
29
29
.wrapper { background-color : # ffffff ; width : 800px ; border : solid 1px # eeeeee ; padding : 20px ; margin : 0 auto; }
30
30
# tabs { margin : 20px -20px ; border : none; }
@@ -468,7 +468,7 @@ <h3 id="basic_examples">Basic Initializations</h3>
468
468
< input type ="text " name ="basic_example_2 " id ="basic_example_2 " value ="" />
469
469
</ div >
470
470
< pre >
471
- $('#basic_example_2').timepicker({} );
471
+ $('#basic_example_2').timepicker();
472
472
</ pre >
473
473
</ div >
474
474
@@ -581,7 +581,7 @@ <h3 id="slider_examples">Slider Modifications</h3>
581
581
< div class ="example-container ">
582
582
< p > Add sliderAccess plugin for touch devices:</ p >
583
583
< div >
584
- < div id ="slider_example_3 "> </ div >
584
+ < input type =" text " name =" slider_example_3 " id ="slider_example_3 " value ="" / >
585
585
</ div >
586
586
< pre >
587
587
$('#slider_example_3').datetimepicker({
@@ -632,6 +632,7 @@ <h3 id="alt_examples">Alternate Fields</h3>
632
632
$('#alt_example_3').datetimepicker({
633
633
altField: "#alt_example_3_alt",
634
634
altFieldTimeOnly: false,
635
+ altFormat: "yy-mm-dd",
635
636
altTimeFormat: "h:m",
636
637
altSeparator: " @ "
637
638
});
Original file line number Diff line number Diff line change @@ -909,10 +909,10 @@ $.fn.extend({
909
909
//########################################################################
910
910
timepicker : function ( o ) {
911
911
o = o || { } ;
912
- var tmp_args = arguments ;
913
-
912
+ var tmp_args = Array . prototype . slice . call ( arguments ) ;
913
+
914
914
if ( typeof o == 'object' ) { tmp_args [ 0 ] = $ . extend ( o , { timeOnly : true } ) ; }
915
-
915
+
916
916
return $ ( this ) . each ( function ( ) {
917
917
$ . fn . datetimepicker . apply ( $ ( this ) , tmp_args ) ;
918
918
} ) ;
You can’t perform that action at this time.
0 commit comments