Fixing an issue with double digit interaction counts
This commit is contained in:
@@ -531,7 +531,7 @@ export default class BaseAPI {
|
||||
} else if (!this._checkObjectHasProperty(refObject, attribute)) {
|
||||
this.throwSCORMError(invalidErrorCode, invalidErrorMessage);
|
||||
} else {
|
||||
if (this.stringMatches(CMIElement, '\\.correct_responses\\.\\d')) {
|
||||
if (this.stringMatches(CMIElement, '\\.correct_responses\\.\\d+')) {
|
||||
this.validateCorrectResponse(CMIElement, value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user