diff options
author | Struan Donald <struan@exo.org.uk> | 2014-04-01 10:48:55 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2014-04-01 10:48:55 +0100 |
commit | 44fc1f6b79a774d50c9cf82e84dcec9ce9df09ac (patch) | |
tree | 37df969206021d17f0552e5dc7a4679fd13b163c /src/js/app.js | |
parent | 0bfd6971dc6465d313112701635bdb8a8a135c09 (diff) |
use > 7 rather than == 7 to detect iOS7
Diffstat (limited to 'src/js/app.js')
-rw-r--r-- | src/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/app.js b/src/js/app.js index 0f2a7bf..e6f620f 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -245,7 +245,7 @@ var tpl = { FMS.iPhoneModel = model; // fix overlap of status bar in ios7 - if (parseFloat(window.device.version) === 7.0) { + if (parseFloat(window.device.version) >= 7.0) { $('body').addClass('ios7'); } } |