mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 09:26:37 +00:00
Merge "Bug 38655 - VisualEditor: White box syndrome strikes back!"
This commit is contained in:
commit
abe32945d1
|
@ -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'
|
||||
} );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue