Skip to content

Commit

Permalink
Overview section icon toggle on click
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshu committed May 7, 2019
1 parent fef5a5b commit a803747
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course_content.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<div class="course-content">
<<<<<<< Updated upstream
<button class="accordion-overview">Overview<i style="float:right" class="fa fa-angle-down" aria-hidden="true"></i></button>
=======
<button class="accordion-overview dake">Overview <i id="click_advance" style="float:right" class="fa fa-angle-down" aria-hidden="true"></i>
</button>
>>>>>>> Stashed changes
<div class="panel">
<div class="about-course rows">
<div class="medium-3 large-12 columns rows">
Expand Down Expand Up @@ -271,8 +276,14 @@ <h5>Created On</h5>
}
});
})


$(document).on('click', '.jqtree-toggler-lesson', function(){
$(this).find('.jqtree-toggler').click()
})
</script>
</script>
<script>
$('.dake').click(function() {
$("#click_advance", this).toggleClass("fa fa-angle-up fa fa-angle-down");
});
</script>

0 comments on commit a803747

Please sign in to comment.