summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-30 16:09:25 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-30 16:09:25 +0000
commit5fd558540d81855e8498fdcd9c47b41d9a8ee7c1 (patch)
treea5ce41491e10d5700bcbffca247e059147ec9243
parent57d87b8ba9bcd03a581500ccd674c194890ba82a (diff)
- fix 2px splitter issue on IE8
git-svn-id: https://svn.roundcube.net/trunk@3001 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/skins/default/splitter.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/skins/default/splitter.js b/roundcubemail/skins/default/splitter.js
index 83506eecb..b9318c0af 100644
--- a/roundcubemail/skins/default/splitter.js
+++ b/roundcubemail/skins/default/splitter.js
@@ -75,7 +75,7 @@ function rcube_splitter(attrib)
this.layer.move(this.layer.x, Math.round(this.pos - lh / 2 + 1));
if (bw.ie)
{
- var new_height = (parseInt(this.p2.parentNode.offsetHeight) - parseInt(this.p2.style.top));
+ var new_height = (parseInt(this.p2.parentNode.offsetHeight) - parseInt(this.p2.style.top) - (bw.ie8 ? 2 : 0));
this.p2.style.height = (new_height > 0 ? new_height : 0) +'px';
}
}
@@ -228,7 +228,7 @@ function rcube_splitter(attrib)
{
if (this.horizontal)
{
- var new_height = (parseInt(this.p2.parentNode.offsetHeight) - parseInt(this.p2.style.top));
+ var new_height = (parseInt(this.p2.parentNode.offsetHeight) - parseInt(this.p2.style.top) - (bw.ie8 ? 2 : 0));
this.p2.style.height = (new_height > 0 ? new_height : 0) +'px';
}
else