mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 00:25:06 +02:00
fixed other style issues
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user