Applied patch for Issue 970: fix bad division slash in code

master
Wojciech Zylinski 2012-01-08 04:09:48 +00:00
parent 6ae1be4ca1
commit 41dbc6d238
1 changed files with 1 additions and 2 deletions

View File

@ -396,8 +396,7 @@ function AgendaEventRenderer() {
setOuterHeight(
eventElement,
slotHeight * Math.round(
(event.end ? ((event.end - event.start) / MINUTE_MS) : opt('defaultEventMinutes'))
/ opt('slotMinutes')
(event.end ? ((event.end - event.start) / MINUTE_MS) : opt('defaultEventMinutes')) / opt('slotMinutes')
)
);
eventElement.draggable('option', 'grid', [colWidth, 1]);