Fix display bug on the iPad/iOS 7

This commit is contained in:
Thibaut 2014-04-05 18:07:35 -04:00
parent d3c7a6fdc1
commit 5314611148

View file

@ -23,6 +23,9 @@
@document = new app.views.Document
@mobile = new app.views.Mobile if @isMobile()
if navigator.userAgent.match /iPad;.*CPU.*OS 7_\d/i
document.documentElement.style.height = "#{window.innerHeight}px"
if @DOC
@bootOne()
else if @DOCS