mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Dialog: Fixed #3013: Force dialog titlebars to have a full line height when no title is provided.
This commit is contained in:
parent
c5352d82b5
commit
bb0cac9cb9
@ -48,7 +48,7 @@ $.widget("ui.dialog", {
|
|||||||
height: '100%'
|
height: '100%'
|
||||||
}),
|
}),
|
||||||
|
|
||||||
title = options.title || uiDialogContent.attr('title') || '',
|
title = options.title || uiDialogContent.attr('title') || ' ',
|
||||||
uiDialogTitlebar = (this.uiDialogTitlebar =
|
uiDialogTitlebar = (this.uiDialogTitlebar =
|
||||||
$('<div class="ui-dialog-titlebar"/>'))
|
$('<div class="ui-dialog-titlebar"/>'))
|
||||||
.append('<span class="ui-dialog-title">' + title + '</span>')
|
.append('<span class="ui-dialog-title">' + title + '</span>')
|
||||||
|
Loading…
Reference in New Issue
Block a user