Skip to content

Commit f59a3e9

Browse files
committed
Datepicker: Use .attr() for size.
1 parent 510bb40 commit f59a3e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.datepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ $.extend(Datepicker.prototype, {
254254
date.setDate(findMax(this._get(inst, (dateFormat.match(/DD/) ?
255255
'dayNames' : 'dayNamesShort'))) + 20 - date.getDay());
256256
}
257-
inst.input.prop('size', this._formatDate(inst, date).length);
257+
inst.input.attr('size', this._formatDate(inst, date).length);
258258
}
259259
},
260260

0 commit comments

Comments
 (0)