]> git.openstreetmap.org Git - rails.git/commitdiff
Pass the correct ID when switching to a node/way/relation view
authorTom Hughes <tom@compton.nu>
Fri, 29 Nov 2013 09:52:46 +0000 (09:52 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 29 Nov 2013 09:53:16 +0000 (09:53 +0000)
app/assets/javascripts/index.js

index 7c7cf79065a989f37d7150b7de93bd0902d5b065..1f9e6c8916a659e63d5cfacd923c94f27afcf8de 100644 (file)
@@ -240,7 +240,7 @@ $(document).ready(function () {
 
     page.pushstate = page.popstate = function(path, id) {
       OSM.loadSidebarContent(path, function() {
 
     page.pushstate = page.popstate = function(path, id) {
       OSM.loadSidebarContent(path, function() {
-        page.load(path, type, id);
+        page.load(path, id);
       });
     };
 
       });
     };