Skip to content

Commit 821af3c

Browse files
author
Ke, Mingze
committed
Fix missing selectors for pin_board dropdown
1 parent 35a3787 commit 821af3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

blocks/webduino.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ Blockly.Blocks['pin_board'] = {
11341134
'4': Blockly.Msg.WEBDUINO_BOARD_WEBSOCKET
11351135
},
11361136
xml = Blockly.Xml.workspaceToDom(Code.workspace),
1137-
boards = xml.querySelectorAll("block[type=board_ready]"),
1137+
boards = xml.querySelectorAll("block[type=board_ready], block[type=smart_ready], block[type=board]"),
11381138
menus = [];
11391139

11401140
if (boards.length < 1) {

0 commit comments

Comments
 (0)