diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js
index b433cb79b..0f0ee7fe2 100644
--- a/ui/jquery.ui.datepicker.js
+++ b/ui/jquery.ui.datepicker.js
@@ -1721,7 +1721,7 @@ $.extend(Datepicker.prototype, {
thead = (showWeek ? "
" + this._get(inst, "weekHeader") + " | " : "");
for (dow = 0; dow < 7; dow++) { // days of the week
day = (dow + firstDay) % 7;
- thead += "= 5 ? " class='ui-datepicker-week-end'" : "") + ">" +
+ thead += " | = 5 ? " class='ui-datepicker-week-end'" : "") + ">" +
"" + dayNamesMin[day] + " | ";
}
calender += thead + "";