Merge "Bug 38655 - VisualEditor: White box syndrome strikes back!"

This commit is contained in:
Trevor Parscal 2012-07-25 19:49:45 +00:00 committed by Gerrit Code Review
commit abe32945d1

View file

@ -258,14 +258,16 @@ ve.ui.Context.prototype.addInspector = function( name, inspector ) {
ve.ui.Context.prototype.hideInspectorFrame = function ( inspector ) {
this.$inspectors.css({
'width': 0,
'height': 0
'height': 0,
'visibility': 'hidden'
});
};
ve.ui.Context.prototype.resizeInspectorFrame = function( inspector ){
this.$inspectors.css( {
'width': inspector.$.outerWidth( true ) + 10,
'height': inspector.$.outerHeight( true ) + 10
'height': inspector.$.outerHeight( true ) + 10,
'visibility': 'visible'
} );
};