Skip to content

Commit

Permalink
Merge pull request jdewit#15 from Nek-/fix-non-default-hour
Browse files Browse the repository at this point in the history
Fixed when the default time is null
  • Loading branch information
jdewit committed May 29, 2012
2 parents 8675687 + dbca88a commit 3b405eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/bootstrap-timepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@
this.setValues(defaultTime);
}
this.update();
} else {
this.hour = 0;
this.minute = 0;
}
}

Expand Down

0 comments on commit 3b405eb

Please sign in to comment.