Skip to content

Commit

Permalink
Specify missing workspace argument
Browse files Browse the repository at this point in the history
  • Loading branch information
MacaylaMarvelous81 committed Aug 21, 2024
1 parent ff55bef commit ca03762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wwwsrc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ openButton.addEventListener('click', (event) => {

console.log(workspaceData);

Blockly.serialization.workspaces.load(workspaceData);
Blockly.serialization.workspaces.load(workspaceData, workspace);
} catch(err) {
if (err instanceof SyntaxError) return vex.dialog.alert('The selected file couldn\'t be loaded because it\'s not a valid JSON file.');

Expand Down

0 comments on commit ca03762

Please sign in to comment.