]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/changeset.js
Clear the note cache when the note layer is turned off
[rails.git] / app / assets / javascripts / changeset.js
index 152b3b4f77f4636f470ff216cf397ecef660a6df..9e393ad5a51ea698e9add6b832d208d62c3cae20 100644 (file)
@@ -27,12 +27,12 @@ $(document).ready(function () {
 
   function highlightChangeset(id) {
     rects[id].setStyle({fillOpacity: 0.5});
-    $("#tr-changeset-" + id).addClass("selected");
+    $("#changeset_" + id).addClass("selected");
   }
 
   function unHighlightChangeset(id) {
     rects[id].setStyle({fillOpacity: 0});
-    $("#tr-changeset-" + id).removeClass("selected");
+    $("#changeset_" + id).removeClass("selected");
   }
 
   group.on({