mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Go live by default. Fixes #653
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user