diff --git a/memory-game.js b/memory-game.js index 2b42e5f..b4d757a 100644 --- a/memory-game.js +++ b/memory-game.js @@ -163,7 +163,7 @@ H5P.MemoryGame = (function (EventDispatcher, $) { timer.notify('every_tenth_second', function () { var time = timer.getTime(); var minutes = H5P.Timer.extractTimeElement(time, 'minutes'); - var seconds = H5P.Timer.extractTimeElement(time, 'seconds'); + var seconds = H5P.Timer.extractTimeElement(time, 'seconds') % 60; if (seconds < 10) { seconds = '0' + seconds; }