Applied patch for Issue 970: fix bad division slash in code
This commit is contained in:
parent
6ae1be4ca1
commit
41dbc6d238
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue