projects
/
WP-Themes
/
saultstemarie360.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
235e715
)
attaching course overlay instead of the badge on course complete
author
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 30 Jul 2018 16:04:57 +0000
(12:04 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 30 Jul 2018 16:04:57 +0000
(12:04 -0400)
footer.php
patch
|
blob
|
history
diff --git
a/footer.php
b/footer.php
index
6c8dc7a
..
cdb9d15
100644
(file)
--- 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);