Skip to content

Commit 3cf4482

Browse files
committed
back to divs
1 parent a0ccaff commit 3cf4482

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

PyTutorGAE/js/pytutor.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,7 @@ ExecutionVisualizer.prototype.renderDataStructures = function() {
15291529
// make sure varname doesn't contain any weird
15301530
// characters that are illegal for CSS ID's ...
15311531
var varDivID = myViz.generateID('global__' + varnameToCssID(varname));
1532-
$(this).append('<span id="' + varDivID + '">&nbsp;</span>');
1532+
$(this).append('<div id="' + varDivID + '">&nbsp;</div>');
15331533

15341534
assert(!connectionEndpointIDs.has(varDivID));
15351535
var heapObjID = myViz.generateID('heap_object_' + getRefID(val));
@@ -1672,8 +1672,7 @@ ExecutionVisualizer.prototype.renderDataStructures = function() {
16721672
// characters that are illegal for CSS ID's ...
16731673
var varDivID = myViz.generateID(varnameToCssID(frame.unique_hash + '__' + varname));
16741674

1675-
// creepy - <div> doesn't work here, but <span> does ... ugh
1676-
$(this).append('<span id="' + varDivID + '">&nbsp;</span>');
1675+
$(this).append('<div id="' + varDivID + '">&nbsp;</div>');
16771676

16781677
assert(!connectionEndpointIDs.has(varDivID));
16791678
var heapObjID = myViz.generateID('heap_object_' + getRefID(val));

0 commit comments

Comments
 (0)