prevent mobile safari header from covering presentation content
This commit is contained in:
parent
9342d19b5a
commit
1233092223
3 changed files with 21 additions and 0 deletions
|
@ -530,6 +530,13 @@
|
|||
dom.wrapper.classList.remove( 'no-hover' );
|
||||
}
|
||||
|
||||
if( /iphone/gi.test( UA ) ) {
|
||||
dom.wrapper.classList.add( 'ua-iphone' );
|
||||
}
|
||||
else {
|
||||
dom.wrapper.classList.remove( 'ua-iphone' );
|
||||
}
|
||||
|
||||
// Background element
|
||||
dom.background = createSingletonNode( dom.wrapper, 'div', 'backgrounds', null );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue