Make sure state is ignored when disabled

semantics-font
Svein-Tore Griff With 2015-04-13 20:31:21 +02:00
parent ba2355c2ec
commit 9a92a61484
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}