diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js index 44968e09b..10d439ded 100644 --- a/js/bootstrap-select.js +++ b/js/bootstrap-select.js @@ -883,7 +883,10 @@ this.multiple = this.$element.prop('multiple'); this.autofocus = this.$element.prop('autofocus'); - this.options.showTick = this.$element[0].classList.contains('show-tick'); + + if (this.$element[0].classList.contains('show-tick')) { + this.options.showTick = true; + } this.$newElement = this.createDropdown(); this.$element