diff --git a/js/h5p.js b/js/h5p.js index 4fa1486..146a686 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -672,7 +672,7 @@ H5P.newRunnable = function (library, contentId, $attachTo, skipResize, extras) { extras.subContentId = library.subContentId; } - if (library.userDatas && library.userDatas.state) { + if (library.userDatas && library.userDatas.state && H5PIntegration.saveFreq) { extras.previousState = library.userDatas.state; }