bunch of js === and !== fixes

This commit is contained in:
Maxim Devaev
2025-02-02 07:15:03 +02:00
parent 4800f9e486
commit 1899902860
5 changed files with 11 additions and 11 deletions

View File

@@ -334,7 +334,7 @@ export function Switch() {
let content = "";
let unit = -1;
for (let port = 0; port < model.ports.length; ++port) {
let pa = model.ports[port]; // pa == port attrs
let pa = model.ports[port]; // pa === port attrs
if (unit !== pa.unit) {
unit = pa.unit;
content += `${unit > 0 ? "<tr><td colspan=100><hr></td></tr>" : ""}