mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
rename #iD to #id-container everywhere
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ body {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
#iD {
|
||||
#id-container {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
|
||||
+2
-2
@@ -187,11 +187,11 @@
|
||||
<script src='data/introGraph.js'></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id='iD'></div>
|
||||
<div id='id-container'></div>
|
||||
<script>
|
||||
iD.data.load(function() {
|
||||
id = iD();
|
||||
d3.select("#iD")
|
||||
d3.select("#id-container")
|
||||
.call(id.ui());
|
||||
});
|
||||
</script>
|
||||
|
||||
+2
-2
@@ -6,7 +6,7 @@ iD.ui.Lasso = function() {
|
||||
|
||||
function lasso(selection) {
|
||||
|
||||
d3.select('#iD').classed('lasso', true);
|
||||
d3.select('#id-container').classed('lasso', true);
|
||||
|
||||
group = selection.append('g')
|
||||
.attr('class', 'lasso hide');
|
||||
@@ -55,7 +55,7 @@ iD.ui.Lasso = function() {
|
||||
d3.select(this).remove();
|
||||
}));
|
||||
}
|
||||
d3.select('#iD').classed('lasso', false);
|
||||
d3.select('#id-container').classed('lasso', false);
|
||||
};
|
||||
|
||||
return lasso;
|
||||
|
||||
Reference in New Issue
Block a user