Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tower1229 committed Nov 19, 2018
1 parent 415996e commit e103e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ define(function(require, exports, module) {
//沉浸式状态栏
let safeTop = api.safeArea.top;
if(safeTop && safeTop>24){
document.querySelector('.head').style.paddingTop = safeTop + 'px'
document.querySelector('.head') && (document.querySelector('.head').style.paddingTop = safeTop + 'px')
}

});
Expand Down

0 comments on commit e103e52

Please sign in to comment.