Merge pull request #855 from MITx/bug/tomg/nested-hints
tweaked collapsible selector to target the proper section
This commit is contained in:
@@ -572,7 +572,7 @@ section.problem {
|
||||
}
|
||||
}
|
||||
|
||||
section {
|
||||
> section {
|
||||
padding: 9px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user