fixed bug of else if block
@@ -247,7 +247,7 @@ Blockly.Blocks['controls_if'] = {
//this.compose(containerBlock);
for (var i = 1; i <= this.elseifCount_; i++) {
this.appendValueInput('IF' + i)
- .setCheck([Boolean,Number])
+ .setCheck(Boolean)
.appendField(Blockly.Msg.CONTROLS_IF_MSG_ELSEIF);
this.appendStatementInput('DO' + i)
.appendField(Blockly.Msg.CONTROLS_IF_MSG_THEN);
