Skip to content

Commit 3a6666b

Browse files
Fixed altField option
1 parent ddc0a6a commit 3a6666b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -508,11 +508,11 @@ $.fn.extend({
508508
tp_inst.ampm = '';
509509
tp_inst.$input = $(input);
510510
if (o.altField) {
511-
tp_inst.$altinput = $($.datepicker._get(dp_inst, 'altField'))
512-
.css({ cursor: 'pointer' })
513-
.focus(function(){
514-
$input.trigger("focus");
515-
});
511+
tp_inst.$altInput = $($.datepicker._get(dp_inst, 'altField'))
512+
.css({ cursor: 'pointer' })
513+
.focus(function(){
514+
$input.trigger("focus");
515+
});
516516
}
517517
tp_inst.inst = dp_inst;
518518
tp_inst._addTimePicker();

0 commit comments

Comments
 (0)