Skip to content
Permalink
Browse files

Fixed empty dropdown

  • Loading branch information...
ColinTree authored and jisqyv committed Aug 3, 2019
1 parent 2a7110b commit 9e38309ffd5e4bb772edd56a471c77448347da45
Showing with 1 addition and 1 deletion.
  1. +1 −1 appinventor/blocklyeditor/src/field_lexical_variable.js
@@ -332,7 +332,7 @@ Blockly.FieldLexicalVariable.getLexicalNamesInScope = function (block) {
*/
Blockly.FieldLexicalVariable.dropdownCreate = function() {
var variableList = this.getNamesInScope(); // [lyn, 11/10/12] Get all global, parameter, and local names
return variableList.length == 0 ? [" ", " "] : variableList;
return variableList.length == 0 ? [[" ", " "]] : variableList;
};

/**

0 comments on commit 9e38309

Please sign in to comment.
You can’t perform that action at this time.