Skip to content

Commit

Permalink
Fix: Undefined settings error (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfoster authored Apr 24, 2023
1 parent 4a72736 commit 791c436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/scorm/wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class ScormWrapper {
}

if (settings?._connectionTest?._isEnabled !== false) {
this._connection = new Connection(settings._connectionTest, this);
this._connection = new Connection(settings?._connectionTest, this);
}

this.startTime = new Date();
Expand Down

0 comments on commit 791c436

Please sign in to comment.