File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2828 * @param object Pass the time that should be used to display on the clock.
2929 */
3030
31- build : function ( ) {
31+ build : function ( time ) {
3232 var t = this ;
3333 var children = this . factory . $el . find ( 'ul' ) ;
3434
3838 this . factory . time = new FlipClock . Time ( this . factory , this . factory . original ) ;
3939 }
4040
41- var time = this . factory . time . getMilitaryTime ( ) ;
41+ var time = time ? time : this . factory . time . getMilitaryTime ( false , this . showSeconds ) ;
4242
4343 if ( time . length > children . length ) {
4444 $ . each ( time , function ( i , digit ) {
6262 flip : function ( time , doNotAddPlayClass ) {
6363 this . autoIncrement ( ) ;
6464
65- time = time ? time : this . factory . time . getMilitaryTime ( ) ;
65+ time = time ? time : this . factory . time . getMilitaryTime ( false , this . showSeconds ) ;
6666
6767 this . base ( time , doNotAddPlayClass ) ;
6868 }
You can’t perform that action at this time.
0 commit comments