correct icon size in ListCalendar, fixes #565
This commit is contained in:
parent
37706512e5
commit
8634476e48
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ Ox.ListCalendar = function(options, self) {
|
||||||
var eventDuration = (Ox.parseDate(data.end) - Ox.parseDate(data.start)) / 1000,
|
var eventDuration = (Ox.parseDate(data.end) - Ox.parseDate(data.start)) / 1000,
|
||||||
iconSize = 8;
|
iconSize = 8;
|
||||||
Ox.forEach(self.durationSize, function(size, duration) {
|
Ox.forEach(self.durationSize, function(size, duration) {
|
||||||
if (eventDuration >= duration) {
|
if (eventDuration > duration) {
|
||||||
iconSize = size;
|
iconSize = size;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue