summaryrefslogtreecommitdiff
path: root/js/index.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-05-18 17:02:57 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-08-15 20:01:29 +0200
commitb15b0b1177dfc3823036613477a681b186f1a9a6 (patch)
tree7a2f4ccab33e67654d78c51411fb4068d19e59a6 /js/index.js
parentf9a9c9dd8804da8abd9d443769438e0a15f94025 (diff)
downloadwvs-vplan-b15b0b1177dfc3823036613477a681b186f1a9a6.tar.gz
wvs-vplan-b15b0b1177dfc3823036613477a681b186f1a9a6.zip
iOS 7 Statusbar Fix
Diffstat (limited to 'js/index.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']);