diff --git a/core/main/client/dom.js b/core/main/client/dom.js index 2026f7117..913aeae73 100644 --- a/core/main/client/dom.js +++ b/core/main/client/dom.js @@ -119,8 +119,15 @@ beef.dom = { var form_action = params['src']; params['src'] = ''; } - if (type == 'hidden') { css = $j.extend(true, {'border':'none', 'width':'1px', 'height':'1px', 'display':'none', 'visibility':'hidden'}, styles); } - if (type == 'fullscreen') { css = $j.extend(true, {'border':'none', 'background-color':'white', 'width':'100%', 'height':'100%', 'position':'absolute', 'top':'0px', 'left':'0px', 'z-index':beef.dom.getHighestZindex()+1}, styles); $j('body').css({'padding':'0px', 'margin':'0px'}); } + if (type == 'hidden') { + css = $j.extend(true, {'border':'none', 'width':'1px', 'height':'1px', 'display':'none', 'visibility':'hidden'}, styles); + } else if (type == 'fullscreen') { + css = $j.extend(true, {'border':'none', 'background-color':'white', 'width':'100%', 'height':'100%', 'position':'absolute', 'top':'0px', 'left':'0px', 'z-index':beef.dom.getHighestZindex()+1}, styles); + $j('body').css({'padding':'0px', 'margin':'0px'}); + } else { + css = styles; + $j('body').css({'padding':'0px', 'margin':'0px'}); + } var iframe = $j('