diff --git a/src/containers/blocks.jsx b/src/containers/blocks.jsx index e41ecdec7ce..8c5c4da0f63 100644 --- a/src/containers/blocks.jsx +++ b/src/containers/blocks.jsx @@ -522,7 +522,7 @@ class Blocks extends React.Component { this.workspace.removeChangeListener(this.toolboxUpdateChangeListener); const dom = this.ScratchBlocks.utils.xml.textToDom(data.xml); try { - this.ScratchBlocks.Xml.clearWorkspaceAndLoadFromXml( + this.ScratchBlocks.clearWorkspaceAndLoadFromXml( dom, this.workspace );