mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Update build and update to build :)
This commit is contained in:
@@ -158,7 +158,7 @@ L.MarkerCluster = L.Marker.extend({
|
||||
},
|
||||
|
||||
_canAcceptPosition: function (latlng, zoom) {
|
||||
if (this._childCount == 0) {
|
||||
if (this._childCount === 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -425,7 +425,7 @@ L.MarkerCluster = L.Marker.extend({
|
||||
this._bounds.extend(childClusters[i]._bounds);
|
||||
}
|
||||
|
||||
if (this._childCount == 0) {
|
||||
if (this._childCount === 0) {
|
||||
delete this._latlng;
|
||||
} else {
|
||||
this.setLatLng(this._bounds.getCenter());
|
||||
|
||||
Reference in New Issue
Block a user