From 531461114814b7dd80536ceee78954b3a18f803b Mon Sep 17 00:00:00 2001 From: Thibaut Date: Sat, 5 Apr 2014 18:07:35 -0400 Subject: [PATCH] Fix display bug on the iPad/iOS 7 --- assets/javascripts/app/app.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/javascripts/app/app.coffee b/assets/javascripts/app/app.coffee index cde88680..742c5077 100644 --- a/assets/javascripts/app/app.coffee +++ b/assets/javascripts/app/app.coffee @@ -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