Merge branch 'bugfix/issue-21' into develop

This commit is contained in:
Jonny Barnes 2016-10-03 15:17:03 +01:00
commit 6fe22755f4
6 changed files with 8 additions and 5 deletions

View file

@ -1,5 +1,8 @@
# Changelog
## Version {next}
- Use the actual results of places in `newnote.js` (issue#21)
## Version 0.0.13.2 (2016-10-03)
- Fix issues with fetch API and places when using micropub client

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

View file

@ -31,10 +31,10 @@ function addPlacesMap(latitude, longitude, uncertainty) {
if (j.length > 0) {
var i;
var places = [];
for (i = 0; i < j.length; ++i) {
for (i = 0; i < j.places.length; ++i) {
var latlng = parseLocation(j[i].location);
var name = j[i].name;
var slug = j[i].slug;
var name = j.places[i].name;
var slug = j.places[i].slug;
places.push([name, slug, latlng[0], latlng[1]]);
}
//add a map with the nearby places