Skip to content
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.

Commit

Permalink
Minor fix + minified
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Vaas committed Jun 20, 2018
1 parent 522bcf6 commit a879540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/bootstrap-datetimepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
this.isVisible = false;
this.isInput = this.element.is('input');
this.component = this.element.is('.date') ? this.element.find('.input-group-addon .dtp-trigger').parent() : false;
this.componentReset = this.element.is('.date') ? this.element.find('.input-group-addon .dtp-clear').parent() : false;
this.componentReset = this.element.is('.date') ? this.element.find('.input-group-addon .dtp-close').parent() : false;
this.hasInput = this.component && this.element.find('input').length;
if (this.component && this.component.length === 0) {
this.component = false;
Expand Down
Loading

0 comments on commit a879540

Please sign in to comment.