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

git-svn-id: https://develop.svn.wordpress.org/trunk@20813 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith 2012-05-16 23:41:33 +00:00
parent b4277fcd40
commit 7ef3949049
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'),