Allowing empty comments in SCORM 1.2

This commit is contained in:
Jonathan Putney
2020-10-29 11:45:40 -04:00
parent 95ad2dd904
commit dc6292e0db
5 changed files with 10 additions and 10 deletions

View File

@@ -226,7 +226,7 @@ export class CMI extends BaseCMI {
* @param {string} comments
*/
set comments(comments) {
if (check12ValidFormat(comments, scorm12_regex.CMIString4096)) {
if (check12ValidFormat(comments, scorm12_regex.CMIString4096, true)) {
this.#comments = comments;
}
}