diff --git a/core/field_dropdown.js b/core/field_dropdown.js index 95b69fe4be..54c53f07f3 100644 --- a/core/field_dropdown.js +++ b/core/field_dropdown.js @@ -164,7 +164,7 @@ Blockly.FieldDropdown.prototype.init = function() { */ Blockly.FieldDropdown.prototype.showEditor_ = function() { var options = this.getOptions(); - if (options.length == 0 || options == ['']) return; + if (options.length == 0 || JSON.stringify(options) === '[""]') return; this.dropDownOpen_ = true; // If there is an existing drop-down someone else owns, hide it immediately and clear it.