Skip to content

Commit a976ba8

Browse files
change date.now() to createUUID
1 parent f62908c commit a976ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/h5p-multi-media-choice.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default class MultiMediaChoice extends H5P.Question {
1919
this.contentId = contentId;
2020
this.extras = extras;
2121
this.answerState = extras.previousState && extras.previousState.answers ? extras.previousState.answers : [];
22-
this.introId = Date.now();
22+
this.introId = H5P.createUUID();
2323

2424
// Default values are extended
2525
this.params = Util.extendParams(params);

0 commit comments

Comments
 (0)