diff --git a/index.html b/index.html index 4dc3b373f..e4b474f45 100644 --- a/index.html +++ b/index.html @@ -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()) diff --git a/js/id/ui.js b/js/id/ui.js index 8dccb8352..81797b731 100644 --- a/js/id/ui.js +++ b/js/id/ui.js @@ -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')) {