mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 15:34:49 +02:00
Fixup local editors. Fixes #275
This commit is contained in:
@@ -572,6 +572,10 @@ img.tile {
|
||||
padding:2px 5px;
|
||||
}
|
||||
|
||||
#about #user-list a:not(:last-child):after {
|
||||
content: ', ';
|
||||
}
|
||||
|
||||
/* Account Information
|
||||
------------------------------------------------------- */
|
||||
|
||||
|
||||
+4
-2
@@ -47,7 +47,7 @@ window.iD = function(container) {
|
||||
|
||||
var showUsers = _.debounce(function() {
|
||||
var users = {},
|
||||
entities = map.history().graph().entities;
|
||||
entities = map.history().graph().intersects(map.extent());
|
||||
for (var i in entities) {
|
||||
users[entities[i].user] = true;
|
||||
if (Object.keys(users).length > 10) break;
|
||||
@@ -172,7 +172,9 @@ window.iD = function(container) {
|
||||
" <a href='http://opengeodata.org/microsoft-imagery-details'><img src='img/bing.png' /></a>");
|
||||
|
||||
about.append('div')
|
||||
.attr('id', 'user-list');
|
||||
.attr('id', 'user-list')
|
||||
.append('span')
|
||||
.text('edited by ');
|
||||
|
||||
history.on('change.buttons', function() {
|
||||
var undo = history.undoAnnotation(),
|
||||
|
||||
Reference in New Issue
Block a user