mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-01-16 21:08:34 +01:00
Trigger resize on new dataset (#446)
When a new dataset is loaded, the layout can change. Trigger the resize to make it fit directly.
This commit is contained in:
parent
3709448d5a
commit
936807d1e3
@ -944,6 +944,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
var self = this;
|
||||
this.openHandler.load(id, function(data) {
|
||||
self.addDataSet(data, id, suffix, show);
|
||||
self.resize();
|
||||
callback && callback(data);
|
||||
});
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user