Commit 9c0e5549 by David Ormsbee

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

tweaked collapsible selector to target the proper section
parents d0668043 00e2f093
...@@ -572,7 +572,7 @@ section.problem { ...@@ -572,7 +572,7 @@ section.problem {
} }
} }
section { > section {
padding: 9px; padding: 9px;
} }
} }
......
...@@ -11,7 +11,7 @@ class @Collapsible ...@@ -11,7 +11,7 @@ class @Collapsible
### ###
el.find('.longform').hide() el.find('.longform').hide()
el.find('.shortform').append('<a href="#" class="full">See full output</a>') 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('.full').click @toggleFull
el.find('.collapsible header a').click @toggleHint el.find('.collapsible header a').click @toggleHint
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment