diff --git a/jquery.colorhelpers.js b/jquery.colorhelpers.js index 84a65f0..8142270 100644 --- a/jquery.colorhelpers.js +++ b/jquery.colorhelpers.js @@ -29,7 +29,7 @@ o.r = r || 0; o.g = g || 0; o.b = b || 0; - o.a = a !== null ? a : 1; + o.a = a != null ? a : 1; o.add = function (c, d) { for (var i = 0; i < c.length; ++i)