aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAndrew Powell <powella@gmail.com>2009-11-21 16:59:08 +0000
committerAndrew Powell <powella@gmail.com>2009-11-21 16:59:08 +0000
commit0225029288c407aff8940be9947a7f9e0975862c (patch)
tree54bdd5402d995d66a232a896b8aa89f333db40da /ui
parent3cc921dd3da81612a9fd9d33357d4a99ba4fd01e (diff)
downloadjquery-ui-0225029288c407aff8940be9947a7f9e0975862c.tar.gz
jquery-ui-0225029288c407aff8940be9947a7f9e0975862c.zip
ui.dialog: replaced &nbsp; with &#160; for xhtml compliance (fixes #4970 -XHTML Compliance : &nbsp; should be &#160;)
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.dialog.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index cd5488313..0aa68f4d4 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -35,7 +35,7 @@ $.widget("ui.dialog", {
var self = this,
options = self.options,
- title = options.title || self.originalTitle || '&nbsp;',
+ title = options.title || self.originalTitle || '&#160;',
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 || '&nbsp;'));
+ $(".ui-dialog-title", self.uiDialogTitlebar).html("" + (value || '&#160;'));
break;
case "width":
resize = true;