Skip to content

Commit

Permalink
fix for clicking from one timepicker input to another
Browse files Browse the repository at this point in the history
  • Loading branch information
jdewit committed Jul 13, 2012
1 parent a4046f5 commit f5a9f4f
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 @@ -69,6 +69,9 @@
e.stopPropagation();
e.preventDefault();

// fix for multiple timepicker elements
$('html').click();

this.$element.trigger('show');

$('html').on('click.timepicker.data-api', $.proxy(this.hide, this));
Expand Down

0 comments on commit f5a9f4f

Please sign in to comment.