diff --git a/js/bootstrap-combobox.js b/js/bootstrap-combobox.js index af5dc0d..e05b859 100755 --- a/js/bootstrap-combobox.js +++ b/js/bootstrap-combobox.js @@ -31,7 +31,6 @@ this.$target = this.$container.find('input[type=hidden]'); this.$button = this.$container.find('.dropdown-toggle'); this.$menu = $(this.options.menu).appendTo('body'); - this.template = this.options.template || this.template this.matcher = this.options.matcher || this.matcher; this.sorter = this.options.sorter || this.sorter; this.highlighter = this.options.highlighter || this.highlighter; @@ -174,10 +173,14 @@ } , template: function() { - if (this.options.bsVersion == '2') { - return '