Go live by default. Fixes #653

This commit is contained in:
Tom MacWright
2013-02-09 18:11:59 -05:00
parent 574e072598
commit 71fc68ddfa
2 changed files with 6 additions and 4 deletions

View File

@@ -155,8 +155,7 @@
var id = iD();
id.connection()
.keys(keys)
.url('http://api06.dev.openstreetmap.org');
.keys(keys);
d3.select("#iD")
.call(id.ui())

View File

@@ -165,8 +165,11 @@ iD.ui = function(context) {
.append('span')
.attr('class', 'provided-by');
linkList.append('li').attr('class', 'source-switch').append('a').attr('href', '#')
.text('dev')
linkList.append('li')
.attr('class', 'source-switch')
.append('a').attr('href', '#')
.text('live')
.classed('live', true)
.on('click.editor', function() {
d3.event.preventDefault();
if (d3.select(this).classed('live')) {