Index: trunk/extensions/SemanticForms/libs/SemanticForms.js |
— | — | @@ -199,7 +199,7 @@ |
200 | 200 | the_div = document.getElementById(div_id); |
201 | 201 | for (var i in options_array) { |
202 | 202 | if (the_input.value == options_array[i]) { |
203 | | - the_div.style.display = 'inline'; |
| 203 | + the_div.style.display = ''; // return to default |
204 | 204 | return; |
205 | 205 | } |
206 | 206 | } |
— | — | @@ -213,7 +213,7 @@ |
214 | 214 | for (var i in checkbox_inputs) { |
215 | 215 | checkbox = document.getElementById(checkbox_inputs[i]); |
216 | 216 | if (checkbox.checked) { |
217 | | - the_div.style.display = 'inline'; |
| 217 | + the_div.style.display = ''; // return to default |
218 | 218 | return; |
219 | 219 | } |
220 | 220 | } |