From: Alexander Ebert Date: Wed, 13 Feb 2013 15:58:33 +0000 (+0100) Subject: Properly removing margin from .formSubmit within dialogs X-Git-Tag: 2.0.0_Beta_1~486 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9a9c5d2cbaff147d0f657f6a3b1298de961dcdd9;p=GitHub%2FWoltLab%2FWCF.git Properly removing margin from .formSubmit within dialogs --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index bda85578ee..015489fae2 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -7707,7 +7707,7 @@ $.widget('ui.wcfDialog', { this._content.addClass('dialogForm').css({ marginBottom: $heightDifference + 'px' }); } else { - this._content.removeClass('dialogForm'); + this._content.removeClass('dialogForm').css({ marginBottom: '0px' }); } // calculate dimensions