From f8dae9f00f78478720e7365b9dfd88a600776032 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sun, 20 Sep 2009 02:53:11 -0400
Subject: [PATCH] - fix IE version check (fixes horizontal splitter height issue)
---
program/js/common.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/program/js/common.js b/program/js/common.js
index 627d238..c66ea76 100644
--- a/program/js/common.js
+++ b/program/js/common.js
@@ -48,8 +48,9 @@
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));
--
Gitblit v1.9.1