1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-23 17:51:56 +02:00

Fix resize (#628)

This commit is contained in:
Barry vd. Heuvel
2024-03-20 12:47:09 +01:00
committed by GitHub
parent 189f791e94
commit 3668109b2e

View File

@@ -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();
},
/**