diff --git a/world/kernel.js b/world/kernel.js index a0d635a..dc233e5 100644 --- a/world/kernel.js +++ b/world/kernel.js @@ -213,7 +213,7 @@ ToDraw.prototype.toRawHandler = function(MACHINE, toplevelNode) { reusableCanvas.height = height; var ctx = reusableCanvas.getContext("2d"); v.render(ctx, 0, 0); - success([toplevelNode, rawJsworld.node_to_tree(reusableCanvasNode)]); + success([toplevelNode, reusableCanvasNode]); } else { success([toplevelNode, rawJsworld.node_to_tree(plt.baselib.format.toDomNode(v))]); }