mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Datepicker: Use .attr() for size.
This commit is contained in:
2
ui/jquery.ui.datepicker.js
vendored
2
ui/jquery.ui.datepicker.js
vendored
@@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user