Added/Modified images
This commit is contained in:
parent
e726f16c28
commit
a482a388f2
1 changed files with 2 additions and 2 deletions
|
|
@ -45,8 +45,8 @@ MinecraftClock.prototype = {
|
||||||
}
|
}
|
||||||
this.time = time;
|
this.time = time;
|
||||||
this.element
|
this.element
|
||||||
.addClass(time.day ? 'day' : 'night')
|
.addClass((time.day <= 4) ? 'day' : 'night')
|
||||||
.removeClass(time.night ? 'day' : 'night')
|
.removeClass((time.day <= 4) ? 'day' : 'night')
|
||||||
.text(this.formatTime(time));
|
.text(this.formatTime(time));
|
||||||
|
|
||||||
if (this.timeout == null) {
|
if (this.timeout == null) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue