mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Dialog: Don't allow the height of the content area to be negative.
This commit is contained in:
@@ -469,7 +469,7 @@ $.widget("ui.dialog", {
|
||||
minHeight: Math.max(options.minHeight - nonContentHeight, 0),
|
||||
height: options.height == 'auto'
|
||||
? 'auto'
|
||||
: options.height - nonContentHeight
|
||||
: Math.max(options.height - nonContentHeight, 0)
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user