#1099: Fixing comparison operator to avoid possible type coercion issues

This commit is contained in:
Alex Zack 2016-11-02 21:38:32 -04:00
parent 7b00da289a
commit 307044dd0d

View File

@ -31,7 +31,7 @@ window.ornaments.setup = function() {
// quick test for portal having ornaments
window.ornaments.isInterestingPortal = function(portal) {
return portal.options.data.ornaments.length != 0;
return portal.options.data.ornaments.length !== 0;
};
window.ornaments.addPortal = function(portal) {