Skip to content

Commit 88d73b2

Browse files
committed
- (Bug Fix) Made it so the TwelveHourClock and TwentyFourHourClock faces can use the showSeconds parameter
1 parent 34248c0 commit 88d73b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/flipclock/js/faces/twelvehourclock.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
build: function() {
3333
var t = this;
3434

35-
var time = this.factory.time.getTime();
35+
var time = this.factory.time.getTime(false, this.showSeconds);
3636

3737
this.base(time);
3838
this.meridiumText = this.getMeridium();
@@ -43,7 +43,7 @@
4343
'</li>',
4444
'</ul>'
4545
].join(''));
46-
46+
4747
this.meridium.insertAfter(this.lists[this.lists.length-1].$el);
4848
},
4949

@@ -56,7 +56,7 @@
5656
this.meridiumText = this.getMeridium();
5757
this.meridium.find('a').html(this.meridiumText);
5858
}
59-
this.base(this.factory.time.getTime(), doNotAddPlayClass);
59+
this.base(this.factory.time.getTime(false, this.showSeconds), doNotAddPlayClass);
6060
},
6161

6262
/**

0 commit comments

Comments
 (0)