Skip to content

Commit

Permalink
No longer need the inline style
Browse files Browse the repository at this point in the history
  • Loading branch information
mtekk committed Nov 5, 2015
1 parent 6da741a commit ab23575
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions order-bender.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ function primary_taxonomy_term_meta_box($post, $callback_args)
//Nonce this bad boy up
wp_nonce_field($this->plugin_basename, $this->unique_prefix . '-' . $taxonomy->name . '-prefered-nonce');
$pref_id = get_post_meta($post->ID, $this->unique_prefix .'_' . $taxonomy->name . '_prefered', true);
//Need inline style to keep our category drop down from doing bad things width wise
echo '<style>.' . $this->unique_prefix . '_primary_term{max-width: 100%;}</style>';
wp_dropdown_categories(array(
'name' => $this->unique_prefix . '_' . $taxonomy->name . '_primary_term',
'id' => $this->unique_prefix . '_' . $taxonomy->name . '_primary_term',
Expand Down

0 comments on commit ab23575

Please sign in to comment.