X-Git-Url: https://scm.cri.mines-paristech.fr/git/Epoz.git/blobdiff_plain/cedf075cd0c3917856e5fab0c19a7c5067333950..e12f4a95372036c721467827829f60a68ef92048:/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 275ffb9..3d9216d --- 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); @@ -100,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);