projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ecb8db
)
Patch Leaflet bug
author
John Firebaugh
<john.firebaugh@gmail.com>
Wed, 13 Nov 2013 00:51:24 +0000
(16:51 -0800)
committer
John Firebaugh
<john.firebaugh@gmail.com>
Wed, 13 Nov 2013 00:59:27 +0000
(16:59 -0800)
This has already been fixed for the next release.
vendor/assets/leaflet/leaflet.js
patch
|
blob
|
history
diff --git
a/vendor/assets/leaflet/leaflet.js
b/vendor/assets/leaflet/leaflet.js
index a76c6fc8edd0d356d9488aba54af363393f68392..0f0b01be2a587f901b9464cce071d2cc191529ba 100644
(file)
--- a/
vendor/assets/leaflet/leaflet.js
+++ b/
vendor/assets/leaflet/leaflet.js
@@
-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);