Skip to content

Commit 7abe22c

Browse files
Fix wrong connector selected bug
first part of #8
1 parent 3cdf992 commit 7abe22c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ function checkparams() {
159159
for (var i = 0; i < connectorData.length; i++) {
160160
if (typeof(connectorData[i].info.cid) != "undefined" && connectorData[i].info.cid == connector) {
161161
c = i;
162+
break;
162163
} else if (i == connectorData.length - 1){
163164
c = 0;
164165
}

0 commit comments

Comments
 (0)