X-Git-Url: https://scm.cri.ensmp.fr/git/Epoz.git/blobdiff_plain/38932404cd4009792b5064f360cdd101e455064f..517e9ef15ada9f55f67eed8ad3a4c2950b98c288:/epoz/epoz_core/epoz_script_detect.js.dtml diff --git a/epoz/epoz_core/epoz_script_detect.js.dtml b/epoz/epoz_core/epoz_script_detect.js.dtml old mode 100755 new mode 100644 index 816a0a5..0867fc6 --- a/epoz/epoz_core/epoz_script_detect.js.dtml +++ b/epoz/epoz_core/epoz_script_detect.js.dtml @@ -82,6 +82,7 @@ function BrowserDetect() { this.isMac = (ua.indexOf('mac') != -1); this.isUnix = (ua.indexOf('unix') != -1 || ua.indexOf('sunos') != -1 || ua.indexOf('bsd') != -1 || ua.indexOf('x11') != -1) this.isLinux = (ua.indexOf('linux') != -1); + this.isMobile = (ua.indexOf('mobile') != -1); // specific browser shortcuts this.isNS4x = (this.isNS && this.versionMajor == 4); @@ -102,6 +103,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);