Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:RunestoneInteractive/RunestoneCom…
Browse files Browse the repository at this point in the history
…ponents into MJFixes
  • Loading branch information
bnmnetp committed Dec 9, 2022
2 parents e0543c8 + 29a1bc5 commit dae5756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runestone/lp/js/lp.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class LP extends RunestoneBase {

setLocalStorage(data) {
// Make a shallow copy, so we can JSON-encode the code snippets (matching what comes from the server) without changing the original object.
data_clone = object.assign({}, data);
let data_clone = Object.assign({}, data);
data_clone.answer = JSON.stringify(data.answer);
localStorage.setItem(this.localStorageKey(), JSON.stringify(data_clone));
}
Expand Down

0 comments on commit dae5756

Please sign in to comment.