From 7abe22c7b039e6150122c77fe858df09f72c4036 Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Thu, 29 Jun 2023 15:01:40 -0500 Subject: [PATCH] Fix wrong connector selected bug first part of #8 --- script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/script.js b/script.js index 5b55074..26fdeaa 100644 --- a/script.js +++ b/script.js @@ -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; }