We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b73903 commit 0c14524Copy full SHA for 0c14524
1 file changed
core/flyout_base.js
@@ -521,10 +521,10 @@ Blockly.Flyout.prototype.show = function(xmlList) {
521
console.error('failed to load block "' + type + '" for toolbox;', err)
522
// when a block errors, obscure it from the ui so it doesnt cause death
523
var errorString =
524
- '<xml><label text="ERR: Block with type ' +
+ '<xml><label text="ERR: Block type ' +
525
goog.string.htmlEscape('"' + type + '"') +
526
' failed to load"></label></xml>'
527
- var errorXML = Blockly.Xml.textToDom(errorString).firstChild
+ var errorXML = Blockly.Xml.textToDom(errorString).firstChild;
528
var curButton = new Blockly.FlyoutButton(this.workspace_,
529
this.targetWorkspace_, errorXML, true);
530
contents.push({type: 'button', button: curButton});
0 commit comments