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