Skip to content
Permalink
Browse files

Datepicker: Use .attr() for size.

  • Loading branch information
scottgonzalez committed Jul 25, 2011
1 parent 510bb40 commit f59a3e91e31379663983377f9dbd682e7bc67834
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.datepicker.js
@@ -254,7 +254,7 @@ $.extend(Datepicker.prototype, {
date.setDate(findMax(this._get(inst, (dateFormat.match(/DD/) ?
'dayNames' : 'dayNamesShort'))) + 20 - date.getDay());
}
inst.input.prop('size', this._formatDate(inst, date).length);
inst.input.attr('size', this._formatDate(inst, date).length);
}
},

0 comments on commit f59a3e9

Please sign in to comment.
You can’t perform that action at this time.