Skip to content

Commit

Permalink
Fix wrong connector selected bug
Browse files Browse the repository at this point in the history
first part of #8
  • Loading branch information
chuckwagoncomputing authored Jun 29, 2023
1 parent 3cdf992 commit 7abe22c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ function checkparams() {
for (var i = 0; i < connectorData.length; i++) {
if (typeof(connectorData[i].info.cid) != "undefined" && connectorData[i].info.cid == connector) {
c = i;
break;
} else if (i == connectorData.length - 1){
c = 0;
}
Expand Down

0 comments on commit 7abe22c

Please sign in to comment.