removing js that hid the mark complete buttons for the lessons
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 31 Jul 2018 17:20:49 +0000 (13:20 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 31 Jul 2018 17:20:49 +0000 (13:20 -0400)
js/custom.js

index afda483..098d529 100644 (file)
@@ -218,9 +218,9 @@ jQuery(document).ready(function($){
     if(window.page === "login"){
         $("#modal-login").remove();
     }
-    if(window.post_type === "sfwd-lessons"){
-        $("#learndash_mark_complete_button").css("display", "none");
-    }
+    // if(window.post_type === "sfwd-lessons"){
+    //     $("#learndash_mark_complete_button").css("display", "none");
+    // }
     // let getting_started = $(".parallax-section:nth-child(2)");
     // let login_section   = getting_started.find(".service-listing").children(".service-list:first-child");
     // login_section.addClass("parallax-hover");