Skip to content

Commit

Permalink
fix #2090 (#2109)
Browse files Browse the repository at this point in the history
  • Loading branch information
duzc2 authored and RoboErikG committed Nov 7, 2018
1 parent b9d6de1 commit f3bb0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/field_dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ Blockly.FieldDropdown.validateOptions_ = function(options) {
var foundError = false;
for (var i = 0; i < options.length; ++i) {
var tuple = options[i];
if (!Array.isArray(options)) {
if (!Array.isArray(tuple)) {
foundError = true;
console.error(
'Invalid option[' + i + ']: Each FieldDropdown option must be an ' +
Expand Down

0 comments on commit f3bb0d8

Please sign in to comment.