From c20911435935c3dcdd6a30e92cf24615b1581895 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Mon, 29 Nov 2021 13:59:21 +0100 Subject: [PATCH] Fix rendering of sets with nested structures in python tutor --- public/tutorviz/javascript/pytutor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/tutorviz/javascript/pytutor.js b/public/tutorviz/javascript/pytutor.js index 28508d2cc4..6847fc0b49 100755 --- a/public/tutorviz/javascript/pytutor.js +++ b/public/tutorviz/javascript/pytutor.js @@ -3389,7 +3389,7 @@ function(objID, stepNum, d3DomElement, isTopLevel) { tbl.append(''); } - var curTr = tbl.find('tr:last'); + var curTr = tbl.children().last(); curTr.append(''); myViz.renderNestedObject(val, stepNum, curTr.find('td:last')); });