Skip to content

Commit eddfa17

Browse files
committed
more precise
1 parent c4f0082 commit eddfa17

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎v3/js/pytutor.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1915,7 +1915,7 @@ ExecutionVisualizer.prototype.renderDataStructures = function() {
19151915
scope: 'varValuePointer'});
19161916
},
19171917
function() {
1918-
myViz.jsPlumbInstance.reset(); // kill 'em all!
1918+
myViz.jsPlumbInstance.select({source: labelID}).detach();
19191919
});
19201920
}
19211921
else {
@@ -2243,7 +2243,7 @@ ExecutionVisualizer.prototype.renderDataStructures = function() {
22432243
scope: 'varValuePointer'});
22442244
},
22452245
function() {
2246-
myViz.jsPlumbInstance.reset(); // kill 'em all!
2246+
myViz.jsPlumbInstance.select({source: labelID}).detach();
22472247
});
22482248
}
22492249
else {
@@ -2459,7 +2459,7 @@ ExecutionVisualizer.prototype.renderDataStructures = function() {
24592459
scope: 'varValuePointer'});
24602460
},
24612461
function() {
2462-
myViz.jsPlumbInstance.reset(); // kill 'em all!
2462+
myViz.jsPlumbInstance.select({source: labelID}).detach();
24632463
});
24642464
}
24652465
else {

0 commit comments

Comments
 (0)