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:
parent
32ed08e42b
commit
3940ec2b59
|
@ -5282,6 +5282,7 @@ body.full-overlay-active {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-full-overlay.collapsed,
|
.wp-full-overlay.collapsed,
|
||||||
|
@ -5323,6 +5324,7 @@ body.full-overlay-active {
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-full-overlay.collapsed .wp-full-overlay-main {
|
.wp-full-overlay.collapsed .wp-full-overlay-main {
|
||||||
|
|
|
@ -53,6 +53,9 @@ jQuery( function($) {
|
||||||
* Displays theme previews on theme install pages.
|
* Displays theme previews on theme install pages.
|
||||||
*/
|
*/
|
||||||
jQuery( function($) {
|
jQuery( function($) {
|
||||||
|
if( ! window.postMessage )
|
||||||
|
return;
|
||||||
|
|
||||||
var preview = $('#theme-installer'),
|
var preview = $('#theme-installer'),
|
||||||
info = preview.find('.install-theme-info'),
|
info = preview.find('.install-theme-info'),
|
||||||
panel = preview.find('.wp-full-overlay-main'),
|
panel = preview.find('.wp-full-overlay-main'),
|
||||||
|
|
Loading…
Reference in New Issue