#1099: Fixing comparison operator to avoid possible type coercion issues
This commit is contained in:
parent
7b00da289a
commit
307044dd0d
@ -31,7 +31,7 @@ window.ornaments.setup = function() {
|
|||||||
|
|
||||||
// quick test for portal having ornaments
|
// quick test for portal having ornaments
|
||||||
window.ornaments.isInterestingPortal = function(portal) {
|
window.ornaments.isInterestingPortal = function(portal) {
|
||||||
return portal.options.data.ornaments.length != 0;
|
return portal.options.data.ornaments.length !== 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
window.ornaments.addPortal = function(portal) {
|
window.ornaments.addPortal = function(portal) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user