summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-20 06:53:11 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-20 06:53:11 +0000
commit2327572f7b0bd788ec2bcf689e3358be014d2727 (patch)
tree8ceaef22cb57c5fac105db5b9cca84f188388157 /roundcubemail/program
parent4578edf57198baa6f29cc4651507f7e66cd35281 (diff)
- fix IE version check (fixes horizontal splitter height issue)
git-svn-id: https://svn.roundcube.net/trunk@2971 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/common.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/js/common.js b/roundcubemail/program/js/common.js
index 627d238d3..c66ea7655 100644
--- a/roundcubemail/program/js/common.js
+++ b/roundcubemail/program/js/common.js
@@ -48,8 +48,9 @@ function roundcube_browser()
this.ie = (document.all) ? true : false;
this.ie4 = (this.ie && !this.dom);
this.ie5 = (this.dom && this.appver.indexOf('MSIE 5')>0);
- this.ie6 = (this.dom && this.appver.indexOf('MSIE 6')>0);
+ this.ie8 = (this.dom && this.appver.indexOf('MSIE 8')>0);
this.ie7 = (this.dom && this.appver.indexOf('MSIE 7')>0);
+ this.ie6 = (this.dom && !this.ie8 && !this.ie7 && this.appver.indexOf('MSIE 6')>0);
this.mz = (this.dom && this.ver>=5); // (this.dom && this.product=='Gecko')
this.ns = ((this.ver<5 && this.name=='Netscape') || (this.ver>=5 && this.vendor.indexOf('Netscape')>=0));