79871 - scorm tried initializing twice
This commit is contained in:
@@ -113,9 +113,7 @@ export default class BaseAPI {
|
||||
terminationMessage?: String) {
|
||||
let returnValue = global_constants.SCORM_FALSE;
|
||||
|
||||
if (this.isInitialized()) {
|
||||
this.throwSCORMError(this.#error_codes.INITIALIZED, initializeMessage);
|
||||
} else if (this.isTerminated()) {
|
||||
if (this.isTerminated()) {
|
||||
this.throwSCORMError(this.#error_codes.TERMINATED, terminationMessage);
|
||||
} else {
|
||||
if (this.selfReportSessionTime) {
|
||||
|
||||
Reference in New Issue
Block a user