From 44d16b25b779b32c2520f1c8d4297673aab12b99 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Sat, 3 Sep 2016 00:37:37 -0400 Subject: [PATCH] Restore the source switcher --- index.html | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index de3dba5a1..d7ba1b9ca 100644 --- a/index.html +++ b/index.html @@ -13,6 +13,7 @@ +
@@ -25,21 +26,21 @@ id.ui()(document.getElementById('id-container')); - // d3.select('#about-list').insert('li', '.user-list') - // .attr('class', 'source-switch') - // .call(iD.ui.SourceSwitch(id) - // .keys([ - // { - // 'url': 'http://www.openstreetmap.org', - // 'oauth_consumer_key': '5A043yRSEugj4DJ5TljuapfnrflWDte8jTOcWLlT', - // 'oauth_secret': 'aB3jKq1TRsCOUrfOIZ6oQMEDmv2ptV76PA54NGLL' - // }, - // { - // 'url': 'http://api06.dev.openstreetmap.org', - // 'oauth_consumer_key': 'zwQZFivccHkLs3a8Rq5CoS412fE5aPCXDw9DZj7R', - // 'oauth_secret': 'aMnOOCwExO2XYtRVWJ1bI9QOdqh1cay2UgpbhA6p' - // } - // ])); + d3.select('#about-list').insert('li', '.user-list') + .attr('class', 'source-switch') + .call(iD.ui.SourceSwitch(id) + .keys([ + { + 'url': 'http://www.openstreetmap.org', + 'oauth_consumer_key': '5A043yRSEugj4DJ5TljuapfnrflWDte8jTOcWLlT', + 'oauth_secret': 'aB3jKq1TRsCOUrfOIZ6oQMEDmv2ptV76PA54NGLL' + }, + { + 'url': 'http://api06.dev.openstreetmap.org', + 'oauth_consumer_key': 'zwQZFivccHkLs3a8Rq5CoS412fE5aPCXDw9DZj7R', + 'oauth_secret': 'aMnOOCwExO2XYtRVWJ1bI9QOdqh1cay2UgpbhA6p' + } + ]));