]> CRI, Mines Paris - PSL - Epoz.git/commitdiff
Ajout drapeau isIE8max.
authorBenoît Pin <pin@cri.ensmp.fr>
Sat, 24 May 2014 13:04:24 +0000 (15:04 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Sat, 24 May 2014 13:04:24 +0000 (15:04 +0200)
epoz/epoz_core/epoz_script_detect.js.dtml

index e29479e46da75b1f0f97711f064ec8d0afbee886..f396f51eb95336fb6731a929e0107ae5c5b3142b 100755 (executable)
@@ -95,6 +95,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.isIE8max = (this.isIE && this.versionMajor <= 8);
    
    this.isIE4xMac = (this.isIE4x && this.isMac);
 }