[Pkg-javascript-commits] [leaflet-markercluster] 02/31: Fixed check to match coding standards (!==)
Jonas Smedegaard
dr at jones.dk
Sun Oct 22 17:29:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag upstream/1.1.0_dfsg
in repository leaflet-markercluster.
commit ea94000177f5b89962b5f15e729ae179dd541dcf
Author: MrCheeze <fishycheeze at yahoo.ca>
Date: Wed Apr 12 17:51:56 2017 -0400
Fixed check to match coding standards (!==)
---
src/MarkerClusterGroup.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js
index d8132d3..8f48762 100644
--- a/src/MarkerClusterGroup.js
+++ b/src/MarkerClusterGroup.js
@@ -933,7 +933,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
radiusFn = function () { return radius; };
}
- if (this.options.disableClusteringAtZoom != null) {
+ if (this.options.disableClusteringAtZoom !== null && typeof this.options.disableClusteringAtZoom !== "undefined") {
maxZoom = this.options.disableClusteringAtZoom - 1;
}
this._maxZoom = maxZoom;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git
More information about the Pkg-javascript-commits
mailing list