Hide .describe_location on push and popstate

This commit is contained in:
Aditya Prakash 2015-11-13 09:41:47 +05:30
parent 82b4c8e3f0
commit ed151fdb78

View file

@ -119,6 +119,7 @@ OSM.Search = function(map) {
page.pushstate = page.popstate = function(path) {
var params = querystring.parse(path.substring(path.indexOf('?') + 1));
$(".search_form input[name=query]").val(params.query);
$(".describe_location").hide();
OSM.loadSidebarContent(path, page.load);
};