[Fixed issue in codacy] Using correct operator
This commit is contained in:
parent
ecfaf236b9
commit
666d3eaee6
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue