Fix deleting in RTL toolbox-less workspaces (issue 29).

This commit is contained in:
Neil Fraser
2015-01-12 17:31:03 -08:00
parent 8d358b96a0
commit a0ebb7a1a3
2 changed files with 4 additions and 4 deletions

View File

@@ -272,7 +272,7 @@ Blockly.createDom_ = function(container) {
// blocks. This cannot be changed later, since the UI is very different.
if (Blockly.hasCategories) {
Blockly.mainWorkspace.toolbox_ = new Blockly.Toolbox(svg, container);
} else {
} else if (Blockly.languageTree) {
/**
* @type {!Blockly.Flyout}
* @private