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)
)
.prependTo(uiDialog),
- uiDialogTitlebarClose = $('<a href="#"/>')
+ uiDialogTitlebarClose = $('<a href="#"></a>')
.addClass(
'ui-dialog-titlebar-close ' +
'ui-corner-all'
})
.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)