ajout flag isMobile.
authorBenoît Pin <pin@cri.ensmp.fr>
Fri, 11 Jul 2014 13:27:06 +0000 (15:27 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Fri, 11 Jul 2014 13:27:06 +0000 (15:27 +0200)
epoz/epoz_core/epoz_blank_iframe.html.pt [changed mode: 0755->0644]
epoz/epoz_core/epoz_script_color.html.dtml [changed mode: 0755->0644]
epoz/epoz_core/epoz_script_detect.js.dtml [changed mode: 0755->0644]
epoz/epoz_core/epoz_script_main.js.dtml [changed mode: 0755->0644]
epoz/epoz_core/epoz_script_table.html.dtml [changed mode: 0755->0644]
epoz/epoz_core/epoz_script_widget.js.dtml [changed mode: 0755->0644]
epoz/epoz_core/vcXMLRPC.js.dtml [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 275ffb9..0867fc6
@@ -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.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);
    
    // specific browser shortcuts
    this.isNS4x = (this.isNS && this.versionMajor == 4);
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)