Merge branch 'release' into improved-file-handling
commit
1173341b76
|
@ -1643,7 +1643,7 @@ H5P.shuffleArray = function (array) {
|
|||
* Reported time consumption/usage
|
||||
*/
|
||||
H5P.setFinished = function (contentId, score, maxScore, time) {
|
||||
if (H5PIntegration.postUserStatistics === true) {
|
||||
if (typeof score === 'number' && H5PIntegration.postUserStatistics === true) {
|
||||
/**
|
||||
* Return unix timestamp for the given JS Date.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue