mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-25 23:13:42 +00:00
Update contributors on load (fixes #699)
This commit is contained in:
@@ -56,6 +56,10 @@ iD.ui.contributors = function(context) {
|
||||
return function(selection) {
|
||||
update(selection);
|
||||
|
||||
context.connection().on('load.contributors', function() {
|
||||
update(selection);
|
||||
});
|
||||
|
||||
context.map().on('move.contributors', _.debounce(function() {
|
||||
update(selection);
|
||||
}, 500));
|
||||
|
||||
Reference in New Issue
Block a user