Permalink
Browse files

Merge pull request #92 from jaapz/master

Prepend timepicker instead of append.
  • Loading branch information...
2 parents a896120 + 48ed8f7 commit 9205701a5a237ceb065acb8da4f2e94bdac852f2 @jdewit committed Mar 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/bootstrap-timepicker.js
@@ -66,7 +66,7 @@
}
if (this.template !== false) {
- this.$widget = $(this.getTemplate()).appendTo(this.$element.parents(this.appendWidgetTo)).on('click', $.proxy(this.widgetClick, this));
+ this.$widget = $(this.getTemplate()).prependTo(this.$element.parents(this.appendWidgetTo)).on('click', $.proxy(this.widgetClick, this));
} else {
this.$widget = false;
}

0 comments on commit 9205701

Please sign in to comment.