]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/search.js
Update querystring references
[rails.git] / app / assets / javascripts / index / search.js
index a3e53382a0704d497332a5a132500c23db4fc1e3..cfdcdf64f833fd80a0a6c72c1977a831b90ef641 100644 (file)
@@ -120,7 +120,7 @@ OSM.Search = function (map) {
   var page = {};
 
   page.pushstate = page.popstate = function (path) {
-    var params = querystring.parse(path.substring(path.indexOf("?") + 1));
+    var params = qs.parse(path.substring(path.indexOf("?") + 1));
     $(".search_form input[name=query]").val(params.query);
     $(".describe_location").hide();
     OSM.loadSidebarContent(path, page.load);