Skip to content

Commit

Permalink
Work around 1px incorrect offset on frontend. Closes #7116
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejolley committed Jan 19, 2015
1 parent 8eaa9d6 commit 4e7e4d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion assets/js/frontend/country-select.js
Expand Up @@ -12,7 +12,8 @@ jQuery( function( $ ) {
$(this).select2({
minimumResultsForSearch: 10,
placeholder: $( this ).attr( 'placeholder' ),
placeholderOption: 'first'
placeholderOption: 'first',
width: "element"
});
});
};
Expand Down
2 changes: 1 addition & 1 deletion assets/js/frontend/country-select.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4e7e4d3

Please sign in to comment.