mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
update build
This commit is contained in:
Vendored
+9
@@ -110,6 +110,15 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
|
||||
|
||||
removeLayer: function (layer) {
|
||||
|
||||
if (layer instanceof L.LayerGroup)
|
||||
{
|
||||
var array = [];
|
||||
for (var i in layer._layers) {
|
||||
array.push(layer._layers[i]);
|
||||
}
|
||||
return this.removeLayers(array);
|
||||
}
|
||||
|
||||
//Non point layers
|
||||
if (!layer.getLatLng) {
|
||||
this._nonPointGroup.removeLayer(layer);
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user