configure fetchKeepalive
This commit is contained in:
5
dist/scorm-again.js
vendored
5
dist/scorm-again.js
vendored
@@ -687,7 +687,8 @@ var BaseAPI = /*#__PURE__*/function () {
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
},
|
||||
fetchKeepalive: function fetchKeepalive() {}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1803,7 +1804,7 @@ var BaseAPI = /*#__PURE__*/function () {
|
||||
'Content-Type': settings.commitRequestDataType
|
||||
}),
|
||||
credentials: settings.xhrWithCredentials ? 'include' : undefined,
|
||||
keepalive: true
|
||||
keepalive: settings.fetchKeepalive()
|
||||
});
|
||||
result = {};
|
||||
result.result = global_constants.SCORM_TRUE;
|
||||
|
||||
Reference in New Issue
Block a user