1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-28 04:00:43 +02:00

Fix for minimized state (#252)

This commit is contained in:
Barry vd. Heuvel
2016-04-29 15:30:52 +02:00
parent fb9e263d28
commit c2455dae32

View File

@@ -827,7 +827,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
*/
recomputeBottomOffset: function() {
if (this.options.bodyMarginBottom) {
if (this.isMinimized() || this.isClosed()) {
if (this.isClosed()) {
return $('body').css('margin-bottom', this.options.bodyMarginBottomHeight || '');
}