[bookmarks-by-zaso] variable not properly renamed

Fixes #928
This commit is contained in:
fkloft 2015-01-14 18:13:33 +01:00
parent 86bec261dc
commit eaf65e005b

View File

@ -754,7 +754,7 @@
});
if(latlngs.length >= 2 && latlngs.length <= 3) {
// TODO: add an API to draw-tools rather than assuming things about it's internals
// TODO: add an API to draw-tools rather than assuming things about its internals
window.plugin.drawTools.setOptions();
var layer, layerType;
@ -784,7 +784,7 @@
}
if(view) {
map.fitBounds(newItem.getBounds());
map.fitBounds(layer.getBounds());
}
}
else{