From 9afd25ddbbb12ed3ee76b8e12ad3b6c0b8e3d839 Mon Sep 17 00:00:00 2001 From: wolfgang Date: Thu, 8 Nov 2007 04:18:23 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1249 d1b88da0-ebda-0310-925b-ed51d893ca5b --- UI/WebServerResources/SchedulerUI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/WebServerResources/SchedulerUI.js b/UI/WebServerResources/SchedulerUI.js index 15f57584..337d6f45 100644 --- a/UI/WebServerResources/SchedulerUI.js +++ b/UI/WebServerResources/SchedulerUI.js @@ -539,7 +539,7 @@ function scrollDayView(scrollEvent) { var classes = scrollEvent.siblings[0].getAttribute("class").split(" "); for (var i = 0; i < classes.length; i++) { if (classes[i].startsWith("starts")) { - var starts = parseInt(classes[i].substr(6)) / 4; + var starts = Math.floor(parseInt(classes[i].substr(6)) / 4); offset = hours[starts].offsetTop; } } -- 2.39.5