mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 22:46:38 +02:00
Go live by default. Fixes #653
This commit is contained in:
+5
-2
@@ -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