FIX 11.0: computation of the bottom margin of <body> returns NaN because body is not loaded yet
This commit is contained in:
parent
0ebed529e1
commit
93348630bf
@ -409,12 +409,11 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
|
||||
className: "phpdebugbar " + csscls('minimized'),
|
||||
|
||||
options: {
|
||||
bodyMarginBottom: true,
|
||||
bodyMarginBottomHeight: parseInt($('body').css('margin-bottom'))
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
this.options = {
|
||||
bodyMarginBottom: true,
|
||||
bodyMarginBottomHeight: parseInt($('body').css('margin-bottom')),
|
||||
};
|
||||
this.controls = {};
|
||||
this.dataMap = {};
|
||||
this.datasets = {};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user