diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js index e7c246a..d6d90d7 100755 --- a/jquery-ui-timepicker-addon.js +++ b/jquery-ui-timepicker-addon.js @@ -22,7 +22,7 @@ this.regional[''] = { // Default regional settings ampm: false, timeFormat: 'hh:mm tt', - timepickerTitle: 'Choose Time', + timeOnlyTitle: 'Choose Time', timeText: 'Time', hourText: 'Hour', minuteText: 'Minute', @@ -184,7 +184,7 @@ if (opts.timeOnly === true) { $tp.prepend( '
' + - '
'+ opts.timepickerTitle +'
' + + '
'+ opts.timeOnlyTitle +'
' + '
'); $dp.find('.ui-datepicker-header, .ui-datepicker-calendar, .ui-datepicker-current').hide(); }