Fix position of red "now" line

Fixes #2373
This commit is contained in:
Francis Lachapelle 2013-08-27 09:04:26 -04:00
parent 0a590ba388
commit df1ab29872
2 changed files with 32 additions and 31 deletions

1
NEWS
View file

@ -9,6 +9,7 @@ Enhancements
Bug fixes
- fixed Finnish mail reply/forward templates
- fixed position of red line of current time
2.0.7 (2013-07-19)
------------------

View file

@ -3289,8 +3289,8 @@ function drawNowLine() {
if (!div)
div = new Element("div", {'id': 'nowLineDisplay'});
div.style.top = parseInt(((minutes * target.offsetHeight) / 60) - 1) + "px";
target.appendChild(div);
div.style.top = parseInt((minutes * target.offsetHeight / 60) - 1) + "px";
target.insertBefore(div, target.firstChild);
setTimeout("drawNowLine ();", 60000); // 1 min.
}