Skip to content

Commit 950a4d4

Browse files
committed
minor fix
1 parent 9467212 commit 950a4d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PyTutorGAE/js/pytutor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ ExecutionVisualizer.prototype.renderPyCodeOutput = function() {
454454

455455
var lineNo = d3.select(t).datum().lineNumber;
456456

457-
if (myViz.visitedLinesSet[lineNo]) {
457+
if (myViz.visitedLinesSet.has(lineNo)) {
458458
d3.select(t.parentNode).select('td.lineNo').style('color', visitedLineColor);
459459
d3.select(t.parentNode).select('td.lineNo').style('font-weight', 'bold');
460460
}

0 commit comments

Comments
 (0)