mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +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 ) {
|
ve.ui.Context.prototype.hideInspectorFrame = function ( inspector ) {
|
||||||
this.$inspectors.css({
|
this.$inspectors.css({
|
||||||
'width': 0,
|
'width': 0,
|
||||||
'height': 0
|
'height': 0,
|
||||||
|
'visibility': 'hidden'
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
ve.ui.Context.prototype.resizeInspectorFrame = function( inspector ){
|
ve.ui.Context.prototype.resizeInspectorFrame = function( inspector ){
|
||||||
this.$inspectors.css( {
|
this.$inspectors.css( {
|
||||||
'width': inspector.$.outerWidth( true ) + 10,
|
'width': inspector.$.outerWidth( true ) + 10,
|
||||||
'height': inspector.$.outerHeight( true ) + 10
|
'height': inspector.$.outerHeight( true ) + 10,
|
||||||
|
'visibility': 'visible'
|
||||||
} );
|
} );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue