mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +00:00
ui.dialog: replaced with   for xhtml compliance (fixes #4970 -XHTML Compliance : should be  )
This commit is contained in:
parent
3cc921dd3d
commit
0225029288
4
ui/jquery.ui.dialog.js
vendored
4
ui/jquery.ui.dialog.js
vendored
@ -35,7 +35,7 @@ $.widget("ui.dialog", {
|
||||
var self = this,
|
||||
options = self.options,
|
||||
|
||||
title = options.title || self.originalTitle || ' ',
|
||||
title = options.title || self.originalTitle || ' ',
|
||||
titleId = $.ui.dialog.getTitleId(self.element),
|
||||
|
||||
uiDialog = (self.uiDialog = $('<div></div>'))
|
||||
@ -477,7 +477,7 @@ $.widget("ui.dialog", {
|
||||
break;
|
||||
case "title":
|
||||
// convert whatever was passed in o a string, for html() to not throw up
|
||||
$(".ui-dialog-title", self.uiDialogTitlebar).html("" + (value || ' '));
|
||||
$(".ui-dialog-title", self.uiDialogTitlebar).html("" + (value || ' '));
|
||||
break;
|
||||
case "width":
|
||||
resize = true;
|
||||
|
Loading…
Reference in New Issue
Block a user