Ajout du flag isIE10max
authorBenoît Pin <pin@cri.ensmp.fr>
Mon, 26 May 2014 13:21:20 +0000 (15:21 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Mon, 26 May 2014 13:21:20 +0000 (15:21 +0200)
epoz/epoz_core/epoz_script_detect.js.dtml

index 816a0a5..275ffb9 100755 (executable)
@@ -102,6 +102,7 @@ function BrowserDetect() {
    this.isIE6up = (this.isIE && this.versionMajor >= 6);
    this.isIE8max = (this.isIE && this.versionMajor <= 8);
    this.isIE10 = (this.isIE && this.versionMajor == 10);
+   this.isIE10max = (this.isIE && this.versionMajor <= 10);
    this.isIE11 = (this.isIE && this.versionMajor == 11);
    
    this.isIE4xMac = (this.isIE4x && this.isMac);