Skip to content

Commit 97eeea1

Browse files
committed
fix connection
1 parent b0487c0 commit 97eeea1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arduino-cloud.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
if (connectionTmp)
7070
connectionTmp.isUpdatedConnection = false;
7171
this.prevconnection = connection;
72-
this.connection = connection;
7372
$("select#node-input-thing").empty();
7473
$("select#node-input-property").empty();
7574
$("#node-input-name").val("");
@@ -86,7 +85,8 @@
8685

8786
const thing_id = $("#node-input-thing").val();
8887
if (thing_id && thing_id !== "0") {
89-
initProperties(this.connection, thing_id, undefined, outs);
88+
const connection = $("#node-input-connection").val();
89+
initProperties(connection, thing_id, undefined, outs);
9090
} else {
9191
$("select#node-input-property").empty();
9292
}

0 commit comments

Comments
 (0)