From: wolfgang Date: Thu, 8 Nov 2007 04:18:23 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1249 d1b88da0-ebda-0310... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9afd25ddbbb12ed3ee76b8e12ad3b6c0b8e3d839;p=scalable-opengroupware.org git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1249 d1b88da0-ebda-0310-925b-ed51d893ca5b --- 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; } }