improve the footer

This commit is contained in:
Michael Q Larson
2015-04-07 00:11:31 -07:00
parent 840930d967
commit bd7c5310b1
11 changed files with 196 additions and 70 deletions

View File

@@ -364,6 +364,7 @@ exports.completedZiplineOrBasejump = function (req, res, next) {
});
var index = req.user.uncompletedCoursewares.indexOf(coursewareHash);
console.log('index here', index)
if (index > -1) {
req.user.progressTimestamps.push(Date.now() || 0);
req.user.uncompletedCoursewares.splice(index, 1);