diff options
Diffstat (limited to 'wp-admin/js/theme-preview.js')
-rw-r--r-- | wp-admin/js/theme-preview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/js/theme-preview.js b/wp-admin/js/theme-preview.js index 43b01cd..f4f85e8 100644 --- a/wp-admin/js/theme-preview.js +++ b/wp-admin/js/theme-preview.js @@ -12,7 +12,7 @@ jQuery(function($) { tbWindow.width( W - 90 ).height( H - 60 ); $('#TB_iframeContent').width( W - 90 ).height( H - 90 ); tbWindow.css({'margin-left': '-' + parseInt((( W - 90 ) / 2),10) + 'px'}); - if ( ! ( $.browser.msie && $.browser.version.substr(0,1) < 7 ) ) + if ( typeof document.body.style.maxWidth != 'undefined' ) tbWindow.css({'top':'30px','margin-top':'0'}); }; |