From: Benoît Pin <benoit.pin@gmail.com>
Date: Mon, 11 Aug 2014 13:27:32 +0000 (+0200)
Subject: Ajout drapeaux isIE7max.
X-Git-Url: https://scm.cri.minesparis.psl.eu/git/Epoz.git/commitdiff_plain/e12f4a95372036c721467827829f60a68ef92048?hp=517e9ef15ada9f55f67eed8ad3a4c2950b98c288

Ajout drapeaux isIE7max.
---

diff --git a/epoz/epoz_core/epoz_script_detect.js.dtml b/epoz/epoz_core/epoz_script_detect.js.dtml
index 0867fc6..3d9216d 100644
--- a/epoz/epoz_core/epoz_script_detect.js.dtml
+++ b/epoz/epoz_core/epoz_script_detect.js.dtml
@@ -101,6 +101,7 @@ function BrowserDetect() {
    this.isIE5up = (this.isIE && this.versionMajor >= 5);
    this.isIE6x = (this.isIE && this.versionMajor == 6);
    this.isIE6up = (this.isIE && this.versionMajor >= 6);
+   this.isIE7max = (this.isIE && this.versionMajor <= 7);
    this.isIE8max = (this.isIE && this.versionMajor <= 8);
    this.isIE10 = (this.isIE && this.versionMajor == 10);
    this.isIE10max = (this.isIE && this.versionMajor <= 10);