Skip to content
Permalink
Browse files

Dialog: Expanded all self-closing tags for HTML conformance.

  • Loading branch information...
scottgonzalez committed Apr 18, 2009
1 parent a3c2a25 commit 8c5ca934c35366e25158e211051c7f31fb1f4ffc
Showing with 4 additions and 4 deletions.
  1. +4 −4 ui/ui.dialog.js
@@ -44,7 +44,7 @@ $.widget("ui.dialog", {
title = options.title || self.originalTitle || ' ',
titleId = $.ui.dialog.getTitleId(self.element),

uiDialog = (self.uiDialog = $('<div/>'))
uiDialog = (self.uiDialog = $('<div></div>'))
.appendTo(document.body)
.hide()
.addClass(uiDialogClasses + options.dialogClass)
@@ -84,7 +84,7 @@ $.widget("ui.dialog", {
)
.prependTo(uiDialog),

uiDialogTitlebarClose = $('<a href="#"/>')
uiDialogTitlebarClose = $('<a href="#"></a>')
.addClass(
'ui-dialog-titlebar-close ' +
'ui-corner-all'
@@ -113,15 +113,15 @@ $.widget("ui.dialog", {
})
.appendTo(uiDialogTitlebar),

uiDialogTitlebarCloseText = (self.uiDialogTitlebarCloseText = $('<span/>'))
uiDialogTitlebarCloseText = (self.uiDialogTitlebarCloseText = $('<span></span>'))
.addClass(
'ui-icon ' +
'ui-icon-closethick'
)
.text(options.closeText)
.appendTo(uiDialogTitlebarClose),

uiDialogTitle = $('<span/>')
uiDialogTitle = $('<span></span>')
.addClass('ui-dialog-title')
.attr('id', titleId)
.html(title)

0 comments on commit 8c5ca93

Please sign in to comment.
You can’t perform that action at this time.