From cb3c6d370879738993fd0d2968ad5f19b2802f8e Mon Sep 17 00:00:00 2001 From: Petr Sloup Date: Tue, 27 Sep 2016 13:54:01 +0200 Subject: [PATCH] Update javascript initialization in home.html --- web/templates/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/home.html b/web/templates/home.html index bd0f531..9e204c2 100644 --- a/web/templates/home.html +++ b/web/templates/home.html @@ -27,7 +27,7 @@ 'https://klokantech.tilehosting.com/styles/basic.json?key=tX0QWNRowlarrQpqxngS', 'https://klokantech.tilehosting.com/styles/basic/rendered.json?key=tX0QWNRowlarrQpqxngS', 'map-ol', 'map-gl').getMap(); - var autocomplete = new kt.OsmNamesAutocomplete('search', 'dgb7TgC5zR0YpsAqbEgb', true, '/'); + var autocomplete = new kt.OsmNamesAutocomplete('search', '/', undefined, true); autocomplete.registerCallback(function(item) { var isDegenerate = (item.boundingbox[2] - item.boundingbox[0]) * (item.boundingbox[3] - item.boundingbox[1]) <= 0;