From: Anthony Talarico Date: Mon, 30 Jul 2018 16:04:57 +0000 (-0400) Subject: attaching course overlay instead of the badge on course complete X-Git-Tag: v1.0.0^2~11 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=05748789fdec17e3f0ab2896d7d4744fd918877f;p=WP-Themes%2Fsaultstemarie360.git attaching course overlay instead of the badge on course complete --- diff --git a/footer.php b/footer.php index 6c8dc7a..cdb9d15 100644 --- a/footer.php +++ b/footer.php @@ -117,10 +117,10 @@ if( this.response.includes('course_finished') && this.readyState === 4 ){ let data = JSON.parse(this.response); setTimeout(function(){ - $(".glm-badge-alert#course-badge").fadeIn("fast"); + $("#glm-badge-overlay").fadeIn("fast"); }, 1500) setTimeout(function(){ - $(".glm-badge-alert#course-badge").fadeOut("slow"); + $("#glm-badge-overlay").fadeOut("slow"); }, 10000) } }, false);