we must hide the header for iPad

This commit is contained in:
Sam 2015-09-17 13:19:08 +10:00
parent e254030760
commit 527c9158eb
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ function positioningWorkaround($fixedElement) {
fixedElement.parentElement.style.height = ''; fixedElement.parentElement.style.height = '';
$('#main-outlet').show(); $('#main-outlet').show();
$('header').show();
fixedElement.style.position = ''; fixedElement.style.position = '';
fixedElement.style.top = ''; fixedElement.style.top = '';
@ -58,6 +59,7 @@ function positioningWorkaround($fixedElement) {
// take care of body // take care of body
$('#main-outlet').hide(); $('#main-outlet').hide();
$('header').hide();
fixedElement.style.position = 'absolute'; fixedElement.style.position = 'absolute';
// get out of the way while opening keyboard // get out of the way while opening keyboard