diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-17 15:48:06 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-17 15:50:21 +0100 |
commit | 511c5107c6381854a69b9a92907d35b4bd667688 (patch) | |
tree | 4aea48a49be835c3a02944f2650bb3bb2a5ed1a9 /bootstrap_datepicker | |
parent | 4674479388a3ebfb0589aa592429f980954a8be3 (diff) | |
download | Ishtar-511c5107c6381854a69b9a92907d35b4bd667688.tar.bz2 Ishtar-511c5107c6381854a69b9a92907d35b4bd667688.zip |
bootstrap-datepicker: custom fix for bad inline detection
Diffstat (limited to 'bootstrap_datepicker')
-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'); |