Skip to content

Commit

Permalink
Update javascript.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Dec 29, 2024
1 parent 1119cde commit ac35167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GameElements_20190131/blockly/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -2226,7 +2226,7 @@ Blockly.JavaScript['custom_style'] = function (block) {
if (style=="")
cmd = cmd+"."+property+" = "+val+";\n";
else
cmd = cmd+".style."+property+" = "+val+";\n";
cmd = cmd+".style"+(property?"."+property:"")+" = "+val+";\n";
var code = cmd;
return code;
};
Expand Down

0 comments on commit ac35167

Please sign in to comment.