mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-06-11 08:35:03 +02:00
Fix resize (#628)
This commit is contained in:
@ -449,8 +449,8 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
|||||||
resize: function() {
|
resize: function() {
|
||||||
var contentSize = this.respCSSSize;
|
var contentSize = this.respCSSSize;
|
||||||
if (this.respCSSSize == 0) {
|
if (this.respCSSSize == 0) {
|
||||||
this.$header.find("> div > *:visible").each(function () {
|
this.$header.find("> *:visible").each(function () {
|
||||||
contentSize += $(this).outerWidth();
|
contentSize += $(this).outerWidth(true);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1011,6 +1011,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
|||||||
self.getControl(key).set('data', d);
|
self.getControl(key).set('data', d);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
self.resize();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user