Added/Modified images

This commit is contained in:
lishid 2011-02-13 01:33:18 -05:00
parent 1eab933bf6
commit 1dc25d5f7c

View File

@ -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) {