clock: remove statement of repetead code.

This commit is contained in:
Rodrigo Ramírez Norambuena 2016-11-25 23:17:45 -03:00
parent e210471c7a
commit db6e0ccf63

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