mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Dialog: Expanded all self-closing tags for HTML conformance.
This commit is contained in:
parent
a3c2a255ad
commit
8c5ca934c3
@ -44,7 +44,7 @@ $.widget("ui.dialog", {
|
|||||||
title = options.title || self.originalTitle || ' ',
|
title = options.title || self.originalTitle || ' ',
|
||||||
titleId = $.ui.dialog.getTitleId(self.element),
|
titleId = $.ui.dialog.getTitleId(self.element),
|
||||||
|
|
||||||
uiDialog = (self.uiDialog = $('<div/>'))
|
uiDialog = (self.uiDialog = $('<div></div>'))
|
||||||
.appendTo(document.body)
|
.appendTo(document.body)
|
||||||
.hide()
|
.hide()
|
||||||
.addClass(uiDialogClasses + options.dialogClass)
|
.addClass(uiDialogClasses + options.dialogClass)
|
||||||
@ -84,7 +84,7 @@ $.widget("ui.dialog", {
|
|||||||
)
|
)
|
||||||
.prependTo(uiDialog),
|
.prependTo(uiDialog),
|
||||||
|
|
||||||
uiDialogTitlebarClose = $('<a href="#"/>')
|
uiDialogTitlebarClose = $('<a href="#"></a>')
|
||||||
.addClass(
|
.addClass(
|
||||||
'ui-dialog-titlebar-close ' +
|
'ui-dialog-titlebar-close ' +
|
||||||
'ui-corner-all'
|
'ui-corner-all'
|
||||||
@ -113,7 +113,7 @@ $.widget("ui.dialog", {
|
|||||||
})
|
})
|
||||||
.appendTo(uiDialogTitlebar),
|
.appendTo(uiDialogTitlebar),
|
||||||
|
|
||||||
uiDialogTitlebarCloseText = (self.uiDialogTitlebarCloseText = $('<span/>'))
|
uiDialogTitlebarCloseText = (self.uiDialogTitlebarCloseText = $('<span></span>'))
|
||||||
.addClass(
|
.addClass(
|
||||||
'ui-icon ' +
|
'ui-icon ' +
|
||||||
'ui-icon-closethick'
|
'ui-icon-closethick'
|
||||||
@ -121,7 +121,7 @@ $.widget("ui.dialog", {
|
|||||||
.text(options.closeText)
|
.text(options.closeText)
|
||||||
.appendTo(uiDialogTitlebarClose),
|
.appendTo(uiDialogTitlebarClose),
|
||||||
|
|
||||||
uiDialogTitle = $('<span/>')
|
uiDialogTitle = $('<span></span>')
|
||||||
.addClass('ui-dialog-title')
|
.addClass('ui-dialog-title')
|
||||||
.attr('id', titleId)
|
.attr('id', titleId)
|
||||||
.html(title)
|
.html(title)
|
||||||
|
Loading…
Reference in New Issue
Block a user