Skip to content

Commit

Permalink
Chosen jQuery version uses outerWidth on initial load.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfiller committed Sep 12, 2011
1 parent eb8ee73 commit 15b9b51
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
Expand Up @@ -54,7 +54,7 @@
var container_div, dd_top, dd_width, sf_width;
this.container_id = this.form_field.id.length ? this.form_field.id.replace(/(:|\.)/g, '_') : this.generate_field_id();
this.container_id += "_chzn";
this.f_width = this.form_field_jq.width();
this.f_width = this.form_field_jq.outerWidth();
this.default_text = this.form_field_jq.data('placeholder') ? this.form_field_jq.data('placeholder') : this.default_text_default;
container_div = $("<div />", {
id: this.container_id,
Expand Down

0 comments on commit 15b9b51

Please sign in to comment.