fixed other style issues

This commit is contained in:
Ken Schwencke
2014-01-04 15:47:05 -08:00
parent 05f2131714
commit f7de94b053
+3 -3
View File
@@ -701,9 +701,9 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
//If we just set maxClusterRadius to a single number, we need to create
//a simple function to return that number. Otherwise, we just have to
//use the function we've passed in.
if(typeof radius == "number") {
radiusFunction = function(){ return radius };
} else if(typeof radius == "function") {
if (typeof radius === "number") {
radiusFunction = function () { return radius; };
} else if (typeof radius === "function") {
radiusFunction = radius;
}