diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-12 14:01:07 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-12 14:01:07 +0200 |
commit | 64542fc8035b71252dd7d8678dd82e1a910a76c4 (patch) | |
tree | 5d0458ca0388d54547cbcc1fdd7b4bb145741a0f /skins/classic/splitter.js | |
parent | 0ca75d488059b685ae344dbb629aa935dce3ab79 (diff) |
Drop support for IE6, move IE7/IE8 support to legacy_browser plugin, update to jQuery-2.1.0
Diffstat (limited to 'skins/classic/splitter.js')
-rw-r--r-- | skins/classic/splitter.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/skins/classic/splitter.js b/skins/classic/splitter.js index cec6a4713..d90ea1d6f 100644 --- a/skins/classic/splitter.js +++ b/skins/classic/splitter.js @@ -11,7 +11,6 @@ function rcube_splitter(attrib) this.id = attrib.id ? attrib.id : this.p1id + '_' + this.p2id + '_splitter'; this.orientation = attrib.orientation; this.horizontal = (this.orientation == 'horizontal' || this.orientation == 'h'); - this.offset = bw.ie6 ? 2 : 0; this.pos = attrib.start ? attrib.start * 1 : 0; this.relative = attrib.relative ? true : false; this.drag_active = false; @@ -67,7 +66,7 @@ function rcube_splitter(attrib) this.resize = function() { if (this.horizontal) { - var lh = this.layer.height - this.offset * 2; + var lh = this.layer.height; this.p1.style.height = Math.floor(this.pos - this.p1pos.top - lh / 2) + 'px'; this.p2.style.top = Math.ceil(this.pos + lh / 2) + 'px'; this.layer.move(this.layer.x, Math.round(this.pos - lh / 2 + 1)); |