Merge pull request #543 from roramirez/pulled-clock

clock: remove statement of repetead code.
This commit is contained in:
Michael Teeuw 2016-11-29 10:41:29 +01:00 committed by GitHub
commit 5666729fcf

View File

@ -107,12 +107,6 @@ Module.register("clock",{
if (this.config.showPeriod && this.config.timeFormat !== 24) {
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