summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2015-07-14 21:34:44 -0700
committerwebchick2015-07-14 21:34:44 -0700
commit71c926e2f2c9bb1e6d008ad51d0952ab81b4bb7e (patch)
tree043980dca83f0251db9a23d7aea1f42ff44f2bab
parent5abb714fc6104ac8939bb2d75c6e5e8d47fc2aec (diff)
Issue #2531636 by Lucasljj, olli: Remove unnecessary extra space in dialogs
-rw-r--r--core/misc/dialog/dialog.ajax.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/misc/dialog/dialog.ajax.js b/core/misc/dialog/dialog.ajax.js
index 47f6852..05f603e 100644
--- a/core/misc/dialog/dialog.ajax.js
+++ b/core/misc/dialog/dialog.ajax.js
@@ -67,6 +67,7 @@
// "display: none", we set its dimensions to zero.
// See http://mattsnider.com/how-forms-submit-when-pressing-enter/
var $originalButton = $(this).css({
+ display: 'block',
width: 0,
height: 0,
padding: 0,