mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
clock: remove statement of repetead code.
This commit is contained in:
parent
e210471c7a
commit
db6e0ccf63
@ -107,12 +107,6 @@ Module.register("clock",{
|
|||||||
if (this.config.showPeriod && this.config.timeFormat !== 24) {
|
if (this.config.showPeriod && this.config.timeFormat !== 24) {
|
||||||
timeWrapper.appendChild(periodWrapper);
|
timeWrapper.appendChild(periodWrapper);
|
||||||
}
|
}
|
||||||
if (this.config.displaySeconds) {
|
|
||||||
timeWrapper.appendChild(secondsWrapper);
|
|
||||||
}
|
|
||||||
if (this.config.showPeriod && this.config.timeFormat !== 24) {
|
|
||||||
timeWrapper.appendChild(periodWrapper);
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************
|
/****************************************************************
|
||||||
* Create wrappers for ANALOG clock, only if specified in config
|
* Create wrappers for ANALOG clock, only if specified in config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user