diff --git a/core/procedures.js b/core/procedures.js index 7b3036b62e..23b233892f 100644 --- a/core/procedures.js +++ b/core/procedures.js @@ -254,7 +254,7 @@ Blockly.Procedures.flyoutCategory = function(workspace) { '' + ''; var block = Blockly.Xml.textToDom(blockText).firstChild; - var gap = Blockly.Xml.textToDom(gapText).firstChild + var gap = Blockly.Xml.textToDom(gapText).firstChild; xmlList.push(gap); xmlList.push(block); blockText = '' + @@ -267,8 +267,7 @@ Blockly.Procedures.flyoutCategory = function(workspace) { '' + ''; block = Blockly.Xml.textToDom(blockText).firstChild; - gap = Blockly.Xml.textToDom(gapText).firstChild - xmlList.push(gap); xmlList.push(block); + xmlList.push(block); return xmlList; };