Skip to content

Commit

Permalink
Merge pull request #3230 from dodona-edu/fix/python-tutor-set-rendering
Browse files Browse the repository at this point in the history
Fix rendering of sets with nested structures in python tutor
  • Loading branch information
chvp authored Nov 29, 2021
2 parents 7a03e8d + c209114 commit e1f94ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/tutorviz/javascript/pytutor.js
Original file line number Diff line number Diff line change
Expand Up @@ -3389,7 +3389,7 @@ function(objID, stepNum, d3DomElement, isTopLevel) {
tbl.append('<tr></tr>');
}

var curTr = tbl.find('tr:last');
var curTr = tbl.children().last();
curTr.append('<td class="setElt"></td>');
myViz.renderNestedObject(val, stepNum, curTr.find('td:last'));
});
Expand Down

0 comments on commit e1f94ba

Please sign in to comment.