]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/history.js
Stretch changeset links in history lists
[rails.git] / app / assets / javascripts / index / history.js
index 7f0fdf8489dfb21627a2ef0fa17330ffaa803009..c20d342c5c3bafcdbfab633cd6160386de428fd2 100644 (file)
@@ -10,18 +10,6 @@ OSM.History = function (map) {
     })
     .on("mouseout", "[data-changeset]", function () {
       unHighlightChangeset($(this).data("changeset").id);
-    })
-    .on("mousedown", "[data-changeset]", function () {
-      var moved = false;
-      $(this)
-        .one("click", function (e) {
-          if (!moved && !$(e.target).is("a")) {
-            clickChangeset($(this).data("changeset").id, e);
-          }
-        })
-        .one("mousemove", function () {
-          moved = true;
-        });
     });
 
   var group = L.featureGroup()