From 8634476e484dff95c3c7b22b02446335c326de7c Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 7 Mar 2012 13:02:08 +0100 Subject: [PATCH] correct icon size in ListCalendar, fixes #565 --- source/Ox.UI/js/Calendar/Ox.ListCalendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Calendar/Ox.ListCalendar.js b/source/Ox.UI/js/Calendar/Ox.ListCalendar.js index 5eaf77b6..3917ec99 100644 --- a/source/Ox.UI/js/Calendar/Ox.ListCalendar.js +++ b/source/Ox.UI/js/Calendar/Ox.ListCalendar.js @@ -43,7 +43,7 @@ Ox.ListCalendar = function(options, self) { var eventDuration = (Ox.parseDate(data.end) - Ox.parseDate(data.start)) / 1000, iconSize = 8; Ox.forEach(self.durationSize, function(size, duration) { - if (eventDuration >= duration) { + if (eventDuration > duration) { iconSize = size; } else { return false;