diff --git a/nginx/conf.d/scripts/main.js b/nginx/conf.d/scripts/main.js index 39303c5..613bc9b 100644 --- a/nginx/conf.d/scripts/main.js +++ b/nginx/conf.d/scripts/main.js @@ -29,7 +29,7 @@ for (var pos = 0; pos < devices.length; pos++) { var td = document.createElement("td"); var content = devices[pos][headers[index]]; - if (index == 1) { + if (index === 1) { var link = document.createElement("a"); link.href = devices[pos][headers[index+1]]; link.innerHTML = content;