#1099: Fixing comparison operator to avoid possible type coercion issues
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user