Skip to content

Commit

Permalink
fix SCORMStorage.set
Browse files Browse the repository at this point in the history
I had changed all the calls to include the `cmi.` prefix, but forgot to
remove it from the actual call to `pipwerks.SCORM.set`!
  • Loading branch information
christianp committed Dec 19, 2024
1 parent 8ce6018 commit 28ed84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/scripts/scorm-storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ SCORMStorage.prototype = /** @lends Numbas.storage.SCORMStorage.prototype */ {
* @returns {boolean} - Did the call succeed?
*/
set: function(key,value) {
var val = pipwerks.SCORM.set('cmi.'+key,value);
var val = pipwerks.SCORM.set(key,value);
return val;
},
/** Get a SCORM data model element.
Expand Down

0 comments on commit 28ed84e

Please sign in to comment.