]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/_map.html.erb
Drop with_format and user the new :formats render option instead
[rails.git] / app / views / changeset / _map.html.erb
index bc1e795b0fa4026963e144af6125775670b0842f..d0d65d9d77153bd85a31a6a0e3ac72e77efa1246 100644 (file)
 
     vectors.addFeatures(highlight);
 
-    $("tr-changeset-" + id).addClassName("selected");
+    $("#tr-changeset-" + id).addClass("selected");
   }
 
   function unHighlightChangeset(id) {
     vectors.removeFeatures(highlight);
 
-    $("tr-changeset-" + id).removeClassName("selected");
+    $("#tr-changeset-" + id).removeClass("selected");
   }
 
   function init() {