Rework about

This commit is contained in:
Tom MacWright
2012-12-03 16:32:26 -05:00
parent 62cdaa7075
commit f149c899bb
2 changed files with 3 additions and 7 deletions

View File

@@ -64,7 +64,6 @@ iD.modes.AddPlace = {
.on('mousemove.addplace', null)
.on('click.addplace', null);
d3.select(document).on('keydown.addplace', null);
d3.selectAll('#addplace').remove();
}
};
@@ -234,8 +233,6 @@ iD.modes.DrawRoad = function(way_id, direction) {
exit: function() {
this.map.surface.on('mousemove.drawroad', null)
.on('click.drawroad', null);
d3.select(document).on('.drawroad', null);
d3.selectAll('#drawroad').remove();
window.setTimeout(function() {
this.map.dblclickEnable(true);
}.bind(this), 1000);

View File

@@ -111,10 +111,9 @@ var iD = function(container) {
this.append('div')
.attr('id', 'about')
.html("<p>Work in progress: <a href='http://www.geowiki.com/'>introduction</a>," +
"<a href='http://github.com/systemed/iD'>code</a>," +
"<a href='http://www.geowiki.com/docs'>docs</a>." +
"Imagery <a href='http://opengeodata.org/microsoft-imagery-details'>&copy; 2012</a> Bing, GeoEye, Getmapping, Intermap, Microsoft.</p>");
.html("<a href='http://github.com/systemed/iD'>code</a>, " +
"<a href='http://github.com/systemed/iD/issues'>report a bug</a> " +
"/ imagery <a href='http://opengeodata.org/microsoft-imagery-details'>&copy; 2012</a> Bing, GeoEye, Getmapping, Intermap, Microsoft.</p>");
map.on('update', function() {
var undo = map.history.undoAnnotation(),