summaryrefslogtreecommitdiff
path: root/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'blocks.js')
-rw-r--r--blocks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/blocks.js b/blocks.js
index 4dc7ccc..c6ab7cf 100644
--- a/blocks.js
+++ b/blocks.js
@@ -2256,7 +2256,7 @@ BlockMorph.prototype.restoreInputs = function (oldInputs) {
if (old instanceof ReporterBlockMorph) {
myself.silentReplaceInput(inp, old.fullCopy());
} else if (old && inp instanceof InputSlotMorph) {
- inp.setContents(old.evaluate());
+ inp.setContents(old.contents().text);
}
i += 1;
});