Replaced strict equality comparisons for null with loose eq comparisons

This commit is contained in:
danielyxie
2017-10-25 17:05:12 -05:00
parent 7614c62507
commit 7c4ac00f5a
8 changed files with 109 additions and 80 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ function createActiveScriptsText(workerscript, item) {
function updateActiveScriptsText(workerscript, item, statsEl=null) {
var itemId = item.id
var itemTextStats = document.getElementById(itemId + "-stats");
if (itemTextStats === null || itemTextStats === undefined) {
if (itemTextStats == null || itemTextStats === undefined) {
itemTextStats = statsEl;
}