]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/_changeset.html.erb
Don't show "Browse Map Data" when we're not on the map view
[rails.git] / app / views / changeset / _changeset.html.erb
index dfa5bc8069c9474a01d7d0cf9939f4eb782994f0..88447dde6957718a77d085a23c058ce8b0c2d5d7 100644 (file)
 </tr>
 
 <script type="text/javascript">
-$("tr-changeset-<%= changeset.id%>").observe("mouseover", function() {
+$("#tr-changeset-<%= changeset.id%>").mouseover(function() {
   highlightChangeset("<%= changeset.id %>");
 });
 
-$("tr-changeset-<%= changeset.id%>").observe("mouseout", function() {
+$("#tr-changeset-<%= changeset.id%>").mouseout(function() {
   unHighlightChangeset("<%= changeset.id %>");
 });
 </script>