summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/index.js b/js/index.js
index 28f5a58..505020a 100644
--- a/js/index.js
+++ b/js/index.js
@@ -147,6 +147,11 @@ $('#mainpage').on('pagebeforeshow', function(){
// Login-Popup beim Start
document.addEventListener('deviceready', function(){
+ /* iOS fix */
+ if(window.device && parseFloat(window.device.version) >= 7.0) {
+ $('body').addClass('iOS7');
+ }
+
/* los geht's */
_paq.push(['setCustomVariable', 1, 'Modell', device.model, 'visit']);
_paq.push(['setCustomVariable', 2, 'Version', device.version, 'visit']);