mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 00:35:50 +00:00
we must hide the header for iPad
This commit is contained in:
parent
e254030760
commit
527c9158eb
@ -25,6 +25,7 @@ function positioningWorkaround($fixedElement) {
|
||||
|
||||
fixedElement.parentElement.style.height = '';
|
||||
$('#main-outlet').show();
|
||||
$('header').show();
|
||||
|
||||
fixedElement.style.position = '';
|
||||
fixedElement.style.top = '';
|
||||
@ -58,6 +59,7 @@ function positioningWorkaround($fixedElement) {
|
||||
|
||||
// take care of body
|
||||
$('#main-outlet').hide();
|
||||
$('header').hide();
|
||||
|
||||
fixedElement.style.position = 'absolute';
|
||||
// get out of the way while opening keyboard
|
||||
|
Loading…
x
Reference in New Issue
Block a user