Skip to content

Commit

Permalink
Release 1.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Farrell committed Apr 28, 2016
1 parent 8663e27 commit 790223e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ When activating the plugin, you may include an object containing options for the
`template`: Custom function that returns markup for the combobox.

`bsVersion`: Version of bootstrap being used. This is used by the default `template` function to generate markup correctly. Defaults to '3'. Set to '2' for compatibility with Bootstrap 2

`appendId`: The desired id of the transformed combobox. This will become the id attr and can be mapped to a label using the for attribute. Useful for accessibility.


Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-combobox",
"version": "1.1.6",
"version": "1.1.7",
"homepage": "https://github.com/danielfarrell/bootstrap-combobox",
"authors": [
"Daniel Farrell <[email protected]>",
Expand Down
4 changes: 2 additions & 2 deletions js/bootstrap-combobox.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* =============================================================
* bootstrap-combobox.js v1.1.6
* bootstrap-combobox.js v1.1.7
* =============================================================
* Copyright 2012 Daniel Farrell
*
Expand Down Expand Up @@ -98,7 +98,7 @@
, transferAttributes: function() {
this.options.placeholder = this.$source.attr('data-placeholder') || this.options.placeholder
if(this.options.appendId !== "undefined") {
this.$element.attr('id', this.$source.attr('id') + this.options.appendId);
this.$element.attr('id', this.$source.attr('id') + this.options.appendId);
}
this.$element.attr('placeholder', this.options.placeholder)
this.$target.prop('name', this.$source.prop('name'))
Expand Down

0 comments on commit 790223e

Please sign in to comment.