diff --git a/dist/index.html b/dist/index.html index f9ac02e4e..480af8154 100644 --- a/dist/index.html +++ b/dist/index.html @@ -12,8 +12,6 @@ - - @@ -40,12 +38,11 @@ document.getElementById('id-container').className = 'unsupported'; } else { var id = iD.Context(window) - .presets(iD.data.presets) - .imagery(iD.data.imagery) - .taginfo(iD.services.taginfo.init()); + .presets(iD.dataPresets) + .imagery(iD.dataImagery) + .taginfo(iD.serviceTaginfo.init()); - d3.select('#id-container') - .call(id.ui()); + id.ui()(document.getElementById('id-container')); } diff --git a/index.html b/index.html index 7e95fd5c3..37c391a5b 100644 --- a/index.html +++ b/index.html @@ -25,7 +25,8 @@ id.ui()(document.getElementById('id-container')); - iD.d3.select('#about-list').insert('li', '.user-list') + iD.d3.select('#about-list') + .insert('li', '.user-list') .attr('class', 'source-switch') .call(iD.uiSourceSwitch(id) .keys([