aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.dialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.dialog.js')
-rw-r--r--ui/ui.dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js
index e3b5bd1bc..756c3950e 100644
--- a/ui/ui.dialog.js
+++ b/ui/ui.dialog.js
@@ -472,7 +472,7 @@ $.widget("ui.dialog", {
this.element
.css({
- minHeight: options.minHeight - nonContentHeight,
+ minHeight: Math.max(options.minHeight - nonContentHeight, 0),
height: options.height == 'auto'
? 'auto'
: options.height - nonContentHeight