Fix misnamed backpack variable

This commit is contained in:
Evan W. Patton
2017-01-25 14:30:19 -05:00
parent 0ca08cc9cc
commit 3307a4b397

View File

@@ -746,7 +746,7 @@ Blockly.BlockSvg.prototype.showContextMenu_ = function(e) {
var backpackOption = {
enabled:true,
text: Blockly.Msg.COPY_TO_BACKPACK +
" (" + Blockly.getMainWorkspace().backpack.count() + ")",
" (" + Blockly.getMainWorkspace().backpack_.count() + ")",
callback: function() {
if (Blockly.selected && Blockly.selected.isDeletable() &&
Blockly.selected.workspace == Blockly.mainWorkspace) {