From: Tom Hughes Date: Fri, 29 Nov 2013 09:52:46 +0000 (+0000) Subject: Pass the correct ID when switching to a node/way/relation view X-Git-Tag: live~4732 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/37baed28b18ae73bb1a4b0cb4cf49146ad151831?ds=sidebyside Pass the correct ID when switching to a node/way/relation view --- diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 7c7cf7906..1f9e6c891 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -240,7 +240,7 @@ $(document).ready(function () { page.pushstate = page.popstate = function(path, id) { OSM.loadSidebarContent(path, function() { - page.load(path, type, id); + page.load(path, id); }); };