Chapters fading when all its challenges are completed
Also, removing the decoration after click.
This commit is contained in:
@@ -312,7 +312,7 @@ $(document).ready(function() {
|
||||
if ($(div).find('.manip-hidden').length ===
|
||||
$(div).find('p').length) {
|
||||
collapseBlock(div);
|
||||
$(div).find('h3 > a').addClass('faded');
|
||||
$(div).prev('h3').addClass('faded');
|
||||
$(div).prev('h2').addClass('faded');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user