})
.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()
#sidebar .changesets {
li {
- cursor: pointer;
-
&.selected { background: $list-highlight; }
/* color is derived from changeset bbox fillColor in history.js */
+
+ a:not(.stretched-link), [title] {
+ position: relative;
+ z-index: 1;
+ }
}
.comments {
<%= tag.li :id => "changeset_#{changeset.id}", :data => { :changeset => changeset_data }, :class => "list-group-item" do %>
<p class="fst-italic">
- <a class="changeset_id text-dark" href="<%= changeset_path(changeset) %>">
+ <a class="changeset_id text-dark stretched-link" href="<%= changeset_path(changeset) %>">
<%= changeset.tags["comment"].to_s.presence || t("browse.no_comment") %>
</a>
</p>