Fix drawInternals crash (#2867)

This commit is contained in:
Sam El-Husseini
2019-08-19 14:50:46 -07:00
committed by GitHub
parent 096959fde9
commit 4b4b50d76f

View File

@@ -307,7 +307,6 @@ Blockly.blockRendering.Drawer.prototype.drawLeft_ = function() {
Blockly.blockRendering.Drawer.prototype.drawInternals_ = function() {
for (var i = 0, row; row = this.info_.rows[i]; i++) {
for (var j = 0, elem; elem = row.elements[j]; j++) {
var elem = row.elements[e];
if (elem.isInlineInput()) {
this.drawInlineInput_(elem);
} else if (elem.isIcon() || elem.isField()) {