Skip to content
Snippets Groups Projects
Commit 2a632e23 authored by Rémi Emonet's avatar Rémi Emonet
Browse files

Making nested-in-challenge solutions expandable

parent 97f2e5d5
No related merge requests found
......@@ -9,6 +9,7 @@ $(".challenge,.solution").click(function(event) {
if (trigger) {
$(">*:not(h2)", this).toggle(400);
$(">h2>span.fold-unfold", this).toggleClass("glyphicon-collapse-down glyphicon-collapse-up");
event.stopPropagation();
}
});
$(".challenge,.solution").each(function() {
......
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