Theme Installer: IE7 compatibility. props ocean90, fixes #20696.

git-svn-id: http://core.svn.wordpress.org/trunk@20813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
koopersmith 2012-05-16 23:41:33 +00:00
parent 32ed08e42b
commit 3940ec2b59
2 changed files with 5 additions and 0 deletions

View File

@ -5282,6 +5282,7 @@ body.full-overlay-active {
bottom: 0;
left: 0;
right: 0;
height: 100%;
}
.wp-full-overlay.collapsed,
@ -5323,6 +5324,7 @@ body.full-overlay-active {
right: 0;
top: 0;
bottom: 0;
height: 100%;
}
.wp-full-overlay.collapsed .wp-full-overlay-main {

View File

@ -53,6 +53,9 @@ jQuery( function($) {
* Displays theme previews on theme install pages.
*/
jQuery( function($) {
if( ! window.postMessage )
return;
var preview = $('#theme-installer'),
info = preview.find('.install-theme-info'),
panel = preview.find('.wp-full-overlay-main'),