We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f75af4 commit a4f3cf1Copy full SHA for a4f3cf1
jquery-ui-timepicker-addon.js
@@ -1,8 +1,8 @@
1
/*
2
* jQuery timepicker addon
3
* By: Trent Richardson [http://trentrichardson.com]
4
-* Version 0.6
5
-* Last Modified: 9/15/2010
+* Version 0.6.1
+* Last Modified: 9/20/2010
6
*
7
* Copyright 2010 Trent Richardson
8
* Dual licensed under the MIT and GPL licenses.
@@ -88,8 +88,7 @@
88
89
if (!this.defaults.timeOnly) {
90
//the time should come after x number of characters and a space. x = at least the length of text specified by the date format
91
- var dp_dateFormat = $.datepicker._get(dp_inst, 'dateFormat');
92
- regstr = '.{' + dp_dateFormat.length + ',}\\s+' + regstr;
+ regstr = '.{' + this.defaults.dateFormat.length + ',}\\s+' + regstr;
93
}
94
95
var order = this.getFormatPositions();
@@ -490,3 +489,5 @@
490
489
491
$.timepicker = new Timepicker(true); // singleton instance
492
})(jQuery);
+
493
0 commit comments