Flatten names, cleanups in index.html

This commit is contained in:
Bryan Housel
2016-10-04 22:03:38 -04:00
parent 87950fd472
commit aa2c4afd47
2 changed files with 6 additions and 8 deletions

11
dist/index.html vendored
View File

@@ -12,8 +12,6 @@
<!--[if !IE]>-->
<script src='iD.js'></script>
<script src='presets.js'></script>
<script src='imagery.js'></script>
<!--<![endif]-->
</head>
<body>
@@ -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'));
}
</script>
</body>

View File

@@ -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([