[Fixed issue in codacy] Using correct operator

This commit is contained in:
butomo1989 2020-07-02 14:24:52 +02:00
parent ecfaf236b9
commit 666d3eaee6

View file

@ -29,7 +29,7 @@ for (var pos = 0; pos < devices.length; pos++) {
var td = document.createElement("td"); var td = document.createElement("td");
var content = devices[pos][headers[index]]; var content = devices[pos][headers[index]];
if (index == 1) { if (index === 1) {
var link = document.createElement("a"); var link = document.createElement("a");
link.href = devices[pos][headers[index+1]]; link.href = devices[pos][headers[index+1]];
link.innerHTML = content; link.innerHTML = content;