Merge pull request #855 from MITx/bug/tomg/nested-hints

tweaked collapsible selector to target the proper section
This commit is contained in:
David Ormsbee
2012-10-11 10:25:21 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -572,7 +572,7 @@ section.problem {
}
}
section {
> section {
padding: 9px;
}
}

View File

@@ -11,7 +11,7 @@ class @Collapsible
###
el.find('.longform').hide()
el.find('.shortform').append('<a href="#" class="full">See full output</a>')
el.find('.collapsible section').hide()
el.find('.collapsible header + section').hide()
el.find('.full').click @toggleFull
el.find('.collapsible header a').click @toggleHint