Skip to content

Commit

Permalink
Make options an optional parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
h3adache committed Aug 4, 2011
1 parent 90ca300 commit f9674e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chosen/chosen.jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
});
Chosen = (function() {
function Chosen(elmn, options) {
this.set_default_values(options);
this.set_default_values(options || {});
this.form_field = elmn;
this.form_field_jq = $(this.form_field);
this.is_multiple = this.form_field.multiple;
Expand Down
Loading

0 comments on commit f9674e7

Please sign in to comment.