Skip to content

Commit

Permalink
Update blocks.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Jan 29, 2025
1 parent 4a81dfd commit 516241b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions SpBlocklyJS/SpeechRecognition_20220729/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,7 @@ Blockly.Blocks['SpeechRecognition_interim'] = {
Blockly.Blocks['SpeechRecognition_interim_element'] = {
init: function() {
this.appendDummyInput()
.appendField(Blockly.Msg.SPEECHRECOGNITION_SHOW)
.appendField(Blockly.Msg.SPEECHRECOGNITION_INTERIM);
.appendField(Blockly.Msg.SPEECHRECOGNITION_SHOW);
this.appendDummyInput()
.appendField(new Blockly.FieldDropdown([
[Blockly.Msg.ELEMENT_SPAN,"span"],
Expand All @@ -197,7 +196,9 @@ Blockly.Blocks['SpeechRecognition_interim_element'] = {
]), "element_");
this.appendDummyInput()
.appendField(Blockly.Msg.ID)
.appendField(new Blockly.FieldTextInput(""), "id_");
.appendField(new Blockly.FieldTextInput(""), "id_");
this.appendDummyInput()
.appendField(Blockly.Msg.SPEECHRECOGNITION_INTERIM);
this.setInputsInline(true);
this.setPreviousStatement(true);
this.setNextStatement(true);
Expand Down

0 comments on commit 516241b

Please sign in to comment.