From 333e47aced84cd1acf5cd4f4e05203883338699f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 16 Aug 2002 07:21:01 +0000 Subject: - Made sure the selection boxes don't grow too long. Requisted by kika, patch by Marco. --- modules/taxonomy.module | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/taxonomy.module') diff --git a/modules/taxonomy.module b/modules/taxonomy.module index b74480624..43bdb1c73 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -513,8 +513,7 @@ function _taxonomy_term_select($title, $name, $value, $vocabulary_id, $descripti $select .= ""; } - // min 8, possibly options/3 (set max too?) - $size = max(8, round(count($options)) / 3); + $size = min(12, count($options)); return form_item($title, "", $description); } -- cgit v1.2.3