mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Only show #screen-meta (which encloses the panels) when a panel is showing. Otherwise there's a one-pixel gray line that's really aggravating my OCD. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19137 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -121,6 +121,7 @@ screenMeta = {
|
||||
|
||||
$('.screen-meta-toggle').not( link.parent() ).css('visibility', 'hidden');
|
||||
|
||||
panel.parent().show();
|
||||
panel.slideDown( 'fast', function() {
|
||||
link.addClass('screen-meta-active');
|
||||
});
|
||||
@@ -140,7 +141,8 @@ screenMeta = {
|
||||
close: function( panel, link ) {
|
||||
panel.slideUp( 'fast', function() {
|
||||
link.removeClass('screen-meta-active');
|
||||
$('.screen-meta-toggle').css('visibility', '');
|
||||
$('.screen-meta-toggle').css('visibility', '');
|
||||
panel.parent().hide();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user