Fixup local editors. Fixes #275

This commit is contained in:
Tom MacWright
2012-12-14 14:32:04 -05:00
parent e9540bf281
commit 704b9a78a4
2 changed files with 8 additions and 2 deletions
+4
View File
@@ -572,6 +572,10 @@ img.tile {
padding:2px 5px;
}
#about #user-list a:not(:last-child):after {
content: ', ';
}
/* Account Information
------------------------------------------------------- */
+4 -2
View File
@@ -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(),