- .on("click", "[data-changeset]", function () {
- clickChangeset($(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;
+ });