diff options
Diffstat (limited to 'bootstrap_datepicker/static')
-rw-r--r-- | bootstrap_datepicker/static/js/bootstrap-datepicker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap_datepicker/static/js/bootstrap-datepicker.js b/bootstrap_datepicker/static/js/bootstrap-datepicker.js index 58a60a603..e986eb32b 100644 --- a/bootstrap_datepicker/static/js/bootstrap-datepicker.js +++ b/bootstrap_datepicker/static/js/bootstrap-datepicker.js @@ -98,7 +98,7 @@ this.element = $(element); this.isInput = this.element.is('input'); this.inputField = this.isInput ? this.element : this.element.find('input'); - this.component = this.element.hasClass('date') ? this.element.find('.add-on, .input-group-addon, .btn') : false; + this.component = this.element.hasClass('date') ? this.element.find('.add-on, .input-group-append, .btn') : false; if (this.component && this.component.length === 0) this.component = false; this.isInline = !this.component && this.element.is('div'); |