mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Define en and en-US locales based on defaults
Fixes #6682 Closes gh-1269
This commit is contained in:
parent
226cc3e9e5
commit
450d75f912
@ -139,6 +139,8 @@ function Datepicker() {
|
||||
disabled: false // The initial disabled state
|
||||
};
|
||||
$.extend(this._defaults, this.regional[""]);
|
||||
this.regional.en = $.extend( true, {}, this.regional[ "" ]);
|
||||
this.regional[ "en-US" ] = $.extend( true, {}, this.regional.en );
|
||||
this.dpDiv = datepicker_bindHover($("<div id='" + this._mainDivId + "' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user