mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Tidy ups from merged commits
This commit is contained in:
@@ -180,12 +180,11 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
|
||||
clearLayers: function () {
|
||||
//Need our own special implementation as the LayerGroup one doesn't work for us
|
||||
|
||||
//If we aren't on the map yet, just blow away the markers we know of
|
||||
//If we aren't on the map (yet), blow away the markers we know of
|
||||
if (!this._map) {
|
||||
this._needsClustering = [];
|
||||
this._gridClusters = undefined;
|
||||
this._gridUnclustered = undefined;
|
||||
// return this;
|
||||
delete this._gridClusters;
|
||||
delete this._gridUnclustered;
|
||||
}
|
||||
|
||||
if (this._unspiderfy) {
|
||||
|
||||
Reference in New Issue
Block a user