Stretch changeset links in history lists
This commit is contained in:
parent
bf11e06e63
commit
5da7215873
3 changed files with 6 additions and 15 deletions
|
@ -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()
|
||||
|
|
|
@ -742,10 +742,13 @@ tr.turn:hover {
|
|||
|
||||
#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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue