Properly removing margin from .formSubmit within dialogs
authorAlexander Ebert <ebert@woltlab.com>
Wed, 13 Feb 2013 15:58:33 +0000 (16:58 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 13 Feb 2013 15:58:33 +0000 (16:58 +0100)
wcfsetup/install/files/js/WCF.js

index bda85578eeba738bc1961f4ff04727db3d50b12a..015489fae22e34634c0ca587cde2c50ae2f22cb0 100755 (executable)
@@ -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