From 05748789fdec17e3f0ab2896d7d4744fd918877f Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 30 Jul 2018 12:04:57 -0400 Subject: [PATCH] attaching course overlay instead of the badge on course complete --- footer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.17.1