diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 4b8dcc7898..d7e3f960c1 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -74,13 +74,13 @@ function toggleAllRowGroups(el) { function toggleFieldset(el) { var fieldset = Element.up(el, 'fieldset'); fieldset.toggleClassName('collapsed'); - Effect.toggle(fieldset.down('div'), 'slide', {duration:0.2}); + Effect.toggle(fieldset.down('>div'), 'slide', {duration:0.2}); } function hideFieldset(el) { var fieldset = Element.up(el, 'fieldset'); fieldset.toggleClassName('collapsed'); - fieldset.down('div').hide(); + fieldset.down('>div').hide(); } var fileFieldCount = 1;