mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 04:02:12 +00:00
Merge pull request #543 from roramirez/pulled-clock
clock: remove statement of repetead code.
This commit is contained in:
commit
5666729fcf
@ -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