mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Convert map surface and supersurface from ids to classes
This commit is contained in:
@@ -158,7 +158,7 @@ export function rendererMap(context) {
|
||||
.on('dblclick.zoom', null); // override d3-zoom dblclick handling
|
||||
|
||||
supersurface = selection.append('div')
|
||||
.attr('id', 'supersurface')
|
||||
.attr('class', 'supersurface')
|
||||
.call(utilSetTransform, 0, 0);
|
||||
|
||||
// Need a wrapper div because Opera can't cope with an absolutely positioned
|
||||
@@ -169,8 +169,7 @@ export function rendererMap(context) {
|
||||
|
||||
map.surface = surface = wrapper
|
||||
.call(drawLayers)
|
||||
.selectAll('.surface')
|
||||
.attr('id', 'surface');
|
||||
.selectAll('.surface');
|
||||
|
||||
surface
|
||||
.call(drawLabels.observe)
|
||||
|
||||
Reference in New Issue
Block a user