mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-06-06 22:25:10 +02:00
Fix resize (#628)
This commit is contained in:
parent
189f791e94
commit
3668109b2e
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
@ -934,7 +934,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
if (!suffix || ('(iframe)').indexOf(suffix) < 0) {
|
||||
suffix = '(iframe)' + (suffix || '');
|
||||
}
|
||||
|
||||
|
||||
window.parent.phpdebugbar.addDataSet(data, id, suffix, show);
|
||||
return;
|
||||
}
|
||||
@ -1011,6 +1011,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
self.getControl(key).set('data', d);
|
||||
}
|
||||
});
|
||||
self.resize();
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user