fix ssl problems 🚒

This commit is contained in:
Mario Pesch
2022-02-16 16:06:59 +01:00
parent c525127a9b
commit d3ca85d2e4
2 changed files with 47 additions and 10 deletions
@@ -14,11 +14,6 @@ var selectedBox = "";
Blockly.Blocks["sensebox_osem_connection"] = {
init: function () {
var ssl = "TRUE";
var workspace = Blockly.getMainWorkspace();
if (workspace.getBlocksByType("sensebox_ethernet").length > 0) {
ssl = "FALSE";
console.log("ethernet");
}
this.setTooltip(Blockly.Msg.senseBox_osem_connection_tip);
this.setHelpUrl("");
this.setColour(getColour().sensebox);