mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
Fix typo causing TypeError (#901)
This commit is contained in:
committed by
Andrew n marshall
parent
e95991cba8
commit
7d8fa7327c
@@ -304,7 +304,7 @@ Blockly.Blocks['lists_indexOf'] = {
|
||||
var thisBlock = this;
|
||||
this.setTooltip(function() {
|
||||
return Blockly.Msg.LISTS_INDEX_OF_TOOLTIP.replace('%1',
|
||||
this.workspace.options.oneBasedIndex ? '0' : '-1');
|
||||
thisBlock.workspace.options.oneBasedIndex ? '0' : '-1');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user