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(
|
setOuterHeight(
|
||||||
eventElement,
|
eventElement,
|
||||||
slotHeight * Math.round(
|
slotHeight * Math.round(
|
||||||
(event.end ? ((event.end - event.start) / MINUTE_MS) : opt('defaultEventMinutes'))
|
(event.end ? ((event.end - event.start) / MINUTE_MS) : opt('defaultEventMinutes')) / opt('slotMinutes')
|
||||||
/ opt('slotMinutes')
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
eventElement.draggable('option', 'grid', [colWidth, 1]);
|
eventElement.draggable('option', 'grid', [colWidth, 1]);
|
||||||
|
|
Loading…
Reference in a new issue