]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/assets/leaflet/leaflet.js
Adjust header sizing
[rails.git] / vendor / assets / leaflet / leaflet.js
index a76c6fc8edd0d356d9488aba54af363393f68392..0f0b01be2a587f901b9464cce071d2cc191529ba 100644 (file)
@@ -1704,7 +1704,7 @@ L.Map = L.Class.extend({
        removeLayer: function (layer) {
                var id = L.stamp(layer);
 
-               if (!this._layers[id]) { return; }
+               if (!this._layers[id]) { return this; }
 
                if (this._loaded) {
                        layer.onRemove(this);