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

Commit d4db780

Browse files
committed
Fix: Correct LP JavaScript errors.
1 parent 70bd5f1 commit d4db780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runestone/lp/js/lp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ class LP extends RunestoneBase {
268268

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

0 commit comments

Comments
 (0)