From: Anthony Talarico Date: Wed, 1 Aug 2018 16:08:22 +0000 (-0400) Subject: adding click trigger for the lessons page so that all lessons are automatically expanded X-Git-Tag: v1.0.0^2~6 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=2b4d20080e1fc3b9eb02f300328817a9e791c851;p=WP-Themes%2Fsaultstemarie360.git adding click trigger for the lessons page so that all lessons are automatically expanded --- diff --git a/js/custom.js b/js/custom.js index eb11c61..88019b8 100644 --- a/js/custom.js +++ b/js/custom.js @@ -219,6 +219,7 @@ jQuery(document).ready(function($){ $("#modal-login").remove(); } $(".flippable").trigger("click"); + $(".expand_collapse").children("a:first-child").trigger("click"); // if(window.post_type === "sfwd-lessons"){ // $("#learndash_mark_complete_button").css("display", "none"); // }