diff options
Diffstat (limited to 'www/js/locate.js')
-rw-r--r-- | www/js/locate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/locate.js b/www/js/locate.js index 02d47bc..3912a32 100644 --- a/www/js/locate.js +++ b/www/js/locate.js @@ -22,7 +22,7 @@ if ( data.latitude ) { that.trigger('search_located', { coordinates: { latitude: data.latitude, longitude: data.longitude } } ); } else if ( data.suggestions ) { - that.trigger( 'search_failed', { locs: data.suggestions } ); + that.trigger( 'search_failed', { suggestions: data.suggestions, locations: data.locations } ); } else { that.trigger( 'search_failed', { msg: data.error } ); } |