willtheorangeguy / willtheorangeguy.github.io

Null comparisons without type-checking operators may not work as intended JS-0059
Bug risk
8 months ago8 months old
Use '===' to compare with null.
1513  var canvas = document.getElementById(tag_id).appendChild(canvas_el);
1514
1515  /* launch particle.js */
1516  if(canvas != null){1517    pJSDom.push(new pJS(tag_id, params));
1518  }
1519