mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +01:00
@@ -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 ' +
|
||||
|
||||
Reference in New Issue
Block a user