From 60ea50305382aedf7180bcba117ee732f5cbfac2 Mon Sep 17 00:00:00 2001 From: lishid Date: Sun, 13 Feb 2011 01:33:18 -0500 Subject: [PATCH] Added/Modified images --- web/map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/map.js b/web/map.js index 9fbd5ffe..eceee495 100644 --- a/web/map.js +++ b/web/map.js @@ -45,8 +45,8 @@ MinecraftClock.prototype = { } this.time = time; this.element - .addClass(time.day ? 'day' : 'night') - .removeClass(time.night ? 'day' : 'night') + .addClass((time.day <= 4) ? 'day' : 'night') + .removeClass((time.day <= 4) ? 'day' : 'night') .text(this.formatTime(time)); if (this.timeout == null) {