Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dist/bootstrap-clockpicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,8 @@
// The input can be changed by the user
// So before we can use this.hours/this.minutes we must update it
ClockPicker.prototype.parseInputValue = function(){
if(this.timeValue !== undefined && this.options.noInput) return;

var value = this.timeValue || (!this.options.noInput && this.input.prop('value')) || this.options['default'] || '';
this.timeValue = null;

Expand Down
2 changes: 1 addition & 1 deletion dist/bootstrap-clockpicker.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/jquery-clockpicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,8 @@
// The input can be changed by the user
// So before we can use this.hours/this.minutes we must update it
ClockPicker.prototype.parseInputValue = function(){
if(this.timeValue !== undefined && this.options.noInput) return;

var value = this.timeValue || (!this.options.noInput && this.input.prop('value')) || this.options['default'] || '';
this.timeValue = null;

Expand Down
2 changes: 1 addition & 1 deletion dist/jquery-clockpicker.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/clockpicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,8 @@
// The input can be changed by the user
// So before we can use this.hours/this.minutes we must update it
ClockPicker.prototype.parseInputValue = function(){
if(this.timeValue !== undefined && this.options.noInput) return;

var value = this.timeValue || (!this.options.noInput && this.input.prop('value')) || this.options['default'] || '';
this.timeValue = null;

Expand Down